#!/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=popt export VERSION=1.18 export BUILD=2 export PKGSERIES=l 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