#!/bin/bash # arm/build # Check package dependencies, set metadata and launch # package build script. # by Stuart Winter # source /usr/share/slackdev/buildkit.sh # Package metadata: export PKGNAM=binutils export PKGSERIES=d # When building on zippo (armedslack-11.0 host) # we plop the package into /tmp. I do a test build of gcc # on zippo first because it's faster than under qemu. # export PKGSTORE=/tmp # Last working one: export VERSION=2.17.50.0.17 #export VERSION=2.18.50.0.4 export BUILD=2 export ARCH=arm export SLACKPACKAGE=$PKGNAM-$VERSION-$ARCH-$BUILD.tgz # Ensure base ARM packages are installed first: slackbasedeps # Launch the package build script: ( ./$PKGNAM.SlackBuild ) >& /dev/stdout | tee build.$ARCH.log # Compress the build log: bzip2 -9f build.$ARCH.log