#!/bin/bash source /usr/share/slackdev/buildkit.sh export PACKAGE=lprng export VERSION=3.8.27 export BUILD=1 export ARCH=armv3 export SLACKPACKAGE="${PACKAGE}-${VERSION}-${ARCH}-${BUILD}.tgz" # Ensure base ARM packages are installed first: slackbasedeps # Ensure additional dependencies: slackcheckpkgdeps openssl || installpkg ${PKGSTORE}/n/openssl-*tgz # We need the clear program from here: slackcheckpkgdeps ncurses || installpkg ${PKGSTORE}/l/ncurses-*tgz # and ps (when building inside Scratchbox): slackcheckpkgdeps procps || installpkg ${PKGSTORE}/a/procps-*tgz slackcheckpkgdeps openssl,ncurses,procps || exit 99 ./${PACKAGE}.SlackBuild