diff options
author | Eric Hameleers <alien@slackware.com> | 2010-06-02 11:03:44 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-06-02 11:03:44 +0000 |
commit | 30b55225db71d9ddf9753661caf7a63a1eb784a6 (patch) | |
tree | 11d1cea5e741d175e6079aad9749bc8f6fda864e /faad2/build | |
parent | 681524e843a709954050cd1ca545d74c842e4c0c (diff) | |
download | asb-30b55225db71d9ddf9753661caf7a63a1eb784a6.tar.gz asb-30b55225db71d9ddf9753661caf7a63a1eb784a6.tar.xz |
Rebuilt for Slackware 13.1
Diffstat (limited to 'faad2/build')
-rwxr-xr-x | faad2/build/faad2.SlackBuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/faad2/build/faad2.SlackBuild b/faad2/build/faad2.SlackBuild index 1509ee55..bacf331a 100755 --- a/faad2/build/faad2.SlackBuild +++ b/faad2/build/faad2.SlackBuild @@ -34,6 +34,8 @@ # * Initial build. # 2.7-2: 30/Jan/2010 by Eric Hameleers <alien@slackware.com> # * Rebuild. +# 2.7-3: 02/jun/2010 by Eric Hameleers <alien@slackware.com> +# * Rebuilt for Slackware 13.1. # # Run 'sh faad2.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=faad2 VERSION=${VERSION:-2.7} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -95,6 +97,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 @@ -139,7 +145,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 ... LDFLAGS="$SLKLDFLAGS" \ @@ -196,3 +202,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_} + |