#!/bin/bash source /usr/share/slackdev/buildkit.sh # Package metadata: export PACKAGE=db4 export PKGSERIES=l export VERSION=4.2.52 export BUILD=1 export ARCH=armv3 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