summaryrefslogtreecommitdiff
path: root/development/scons/scons.SlackBuild
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2010-12-12 13:14:10 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-12 13:14:10 -0600
commite9b94e4736e7eecff09c93990144245d98d412ae (patch)
tree5d309013b28e3603bdb4db05c88c2b3287e2b3ed /development/scons/scons.SlackBuild
parent2f5a7e368dab428c0831748373468649e0b2b484 (diff)
downloadslackbuilds-e9b94e4736e7eecff09c93990144245d98d412ae.tar.gz
development/scons: Updated for version 2.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/scons/scons.SlackBuild')
-rw-r--r--development/scons/scons.SlackBuild25
1 files changed, 9 insertions, 16 deletions
diff --git a/development/scons/scons.SlackBuild b/development/scons/scons.SlackBuild
index cbd2d7fd2a..61007ba020 100644
--- a/development/scons/scons.SlackBuild
+++ b/development/scons/scons.SlackBuild
@@ -2,26 +2,25 @@
# Slackware build script for scons
# Written by Kyle Guinn <elyk03@gmail.com>
+# Updated by Andrzej Telszewski <atelszewski@gmail.com>
-PRGNAM="scons"
-VERSION=${VERSION:-"1.2.0"}
-BUILD=${BUILD:-"2"}
-TAG=${TAG:-"_SBo"}
+PRGNAM=scons
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
-TMP=${TMP:-"/tmp/SBo"}
-PKG="$TMP/package-$PRGNAM-$VERSION"
-OUTPUT=${OUTPUT:-"/tmp"}
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM-$VERSION
+OUTPUT=${OUTPUT:-/tmp}
DOCS="CHANGES.txt LICENSE.txt README.txt RELEASE.txt"
@@ -38,13 +37,7 @@ chmod -R u+w,go+r-w,a-st .
python ./setup.py install --root=$PKG --symlink-scons
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l); do \
- ln -s $(readlink $i).gz $i.gz; \
- rm $i; \
- done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION