#!/bin/bash source /usr/share/slackdev/buildkit.sh # Package metadata: export PACKAGE=db3 export VERSION=3.3.11 export BUILD=1 export ARCH=arm export PKGSERIES=l export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz # Reset the ARM file system: restore it to the 'factory settings' # as it were: sboxsysrestore # Ensure base ARM packages are installed first: slackbasedeps # Ensure $PACKAGE isn't already installed: slackfailpkgdeps $PACKAGE || removepkg $PACKAGE # Launch the package build script: ./trackbuild.$PACKAGE