#!/bin/bash # Set initial variables: CWD=$(pwd) TMP=${TMP:-/tmp/build-expect} export TMP rm -rf $TMP # Package info: PACKAGE=expect ARCH=${ARCH:-sparc} BUILD=${BUILD:-2b} PKGVERSION=5.43.0 # Store the finished Slackware package .tgz in /tmp: export PKGSTORE=/tmp # This will touch nearly every file on your expendable development # box. You wouldn't try this on a production system, right? altertrack \ -x '/splack-12.1|/var/tmp/.*slacktrack.log' \ --notidy \ -T $TMP \ -R $CWD/postbuildfixes.sh \ --touch-filesystem-first \ -b $PKGSTORE \ -OcQp $PACKAGE-$PKGVERSION-$ARCH-$BUILD.tgz ./expect.buildsparc