#!/bin/bash # arm/build # Check package dependencies, set metadata and launch # package build script. # by Stuart Winter # source /usr/share/slackdev/buildkit.sh export PACKAGE=aspell-dict export VERSION=NOVER export BUILD=2 export ARCH=arm export PKGSERIES=l export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz # Ensure base ARM packages are installed first: slackbasedeps # Ensure additional dependencies: # aspell is required to generate the dictionary files and aspell # requires ncurses: slackcheckpkgdeps aspell || installpkg $PKGSTORE/l/aspell-*arm*.tgz slackcheckpkgdeps ncurses || installpkg $PKGSTORE/l/ncurses-*arm*.tgz slackcheckpkgdeps aspell,ncurses || exit 99 # Launch the package build script: ( ./$PACKAGE.SlackBuild ) >& /dev/stdout | tee build.$ARCH.log # Compress the build log: bzip2 -9f build.$ARCH.log