#!/bin/bash source /usr/share/slackdev/buildkit.sh # Package metadata: export PACKAGE=db31 export PKGSERIES=l export VERSION=3.1.17 export BUILD=1 export ARCH=arm 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: ( ./$PACKAGE.SlackBuild ) 2>&1 | tee build.log