#!/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=gv export VERSION=3.7.4 export BUILD=6 export PKGSERIES=xap export SLACKPACKAGE=$PKGNAM-$VERSION-$ARCH-$BUILD.txz # Ensure base ARM packages are installed first: slackbasedeps # When I build X for ARMedslack, I removepkg it and rm -rf /usr/X11 which also # removes xaw3d. This way we remove the package from /var/log/packages and # we let slackcheckpkgdeps fix it below. # I don't do that anymore with modular xorg. #removepkg xaw3d # 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