#!/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 PACKAGE=aaa_terminfo export VERSION=5.6 export ARCH=noarch export BUILD=1 export PKGSERIES=a export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz # Ensure build dependencies: { slackcheckpkgdeps ncurses || installpkg $PKGSTORE/l/ncurses-*.tgz || exit 99 ; } # Launch the package build script: ( ./$PACKAGE.SlackBuild ) >& /dev/stdout | tee build.$ARCH.log # Compress the build log: bzip2 -9f build.$ARCH.log