#!/bin/bash # arm/build # Check package dependencies, set metadata and launch # package build script. # by Stuart Winter # source /usr/share/slackdev/buildkit.sh # Package info: export PKGNAM=bc export PKGSERIES=ap export VERSION=1.07.1 export BUILD=6 export SLACKPACKAGE=$PKGNAM-$VERSION-$ARCH-$BUILD.txz # Ensure base ARM packages are installed first: slackbasedeps # Launch the package build script: BUILDLOG=$SLKPORTARCH-$( basename $SLACKPACKAGE .t?z ).build.log ( ./$PKGNAM.SlackBuild ) >& /dev/stdout | tee $BUILDLOG # Compress the build log: bzip2 -9fvz $BUILDLOG