#!/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.06.95 export BUILD=1 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 -9f $BUILDLOG