#!/bin/bash source /usr/share/slackdev/buildkit.sh # Package metadata: export PACKAGE=ltrace export PKGSERIES=../unsupported-extra/packages export VERSION=0.3.36 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 (this has no effect when building natively): sboxsysrestore # Ensure base ARM packages are installed first: slackbasedeps # Ensure build dependencies are met: slackcheckpkgdeps libelf || installpkg $PKGSTORE/../unsupported-extra/packages/libelf-*.tgz slackcheckpkgdeps libelf || exit 99 # Launch the package build script: ( ./$PACKAGE.SlackBuild ) 2>&1 | tee build.log