From 30b55225db71d9ddf9753661caf7a63a1eb784a6 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 2 Jun 2010 11:03:44 +0000 Subject: Rebuilt for Slackware 13.1 --- aften/build/aften.SlackBuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'aften') diff --git a/aften/build/aften.SlackBuild b/aften/build/aften.SlackBuild index 12d5bfb9..99ef2eb9 100755 --- a/aften/build/aften.SlackBuild +++ b/aften/build/aften.SlackBuild @@ -34,6 +34,8 @@ # * Initial build. # 0.0.8-2: 30/Jan/2010 by Eric Hameleers # * Re-build. +# 0.0.8-3: 02/jun/2010 by Eric Hameleers +# * Rebuilt for Slackware 13.1. # # Run 'sh aften.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -45,7 +47,7 @@ PRGNAM=aften VERSION=${VERSION:-0.0.8} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -92,6 +94,10 @@ trap 'echo "$0 FAILED at line ${LINENO}" | tee $OUTPUT/error-${PRGNAM}.log' ERR set -u P1=${1:-1} +# Save old umask and set to 0022: +_UMASK_=$(umask) +umask 0022 + # Create working directories: mkdir -p $OUTPUT # place for the package to be saved mkdir -p $TMP/tmp-$PRGNAM # location to build the source @@ -137,7 +143,7 @@ echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} cd ${PRGNAM}-${VERSION} chown -R root:root . -chmod -R u+w,go+r-w,a-s . +chmod -R u+w,go+r-w,a+X-s . echo Building ... # Since the LIBDIR can not be specified on the cmake commandline: @@ -181,3 +187,6 @@ md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ cd - cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt +# Restore the original umask: +umask ${_UMASK_} + -- cgit v1.2.3