#!/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 #export VERSION=2.22.52.0.1 export VERSION=2.22.52.0.2 export BUILD=3 export ARCH=arm export SLACKPACKAGE=$PKGNAM-$VERSION-$ARCH-$BUILD.tgz # Ensure base ARM packages are installed first: slackbasedeps # Launch the package build script: BUILDLOG=$( basename $SLACKPACKAGE .tgz ).build.log ( ./$PKGNAM.SlackBuild ) >& /dev/stdout | tee $BUILDLOG # Compress the build log: bzip2 -9fvz $BUILDLOG