aboutsummaryrefslogtreecommitdiff
path: root/development/scons/scons.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/scons/scons.SlackBuild')
-rw-r--r--development/scons/scons.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/development/scons/scons.SlackBuild b/development/scons/scons.SlackBuild
index 9cba92418fc59..8f1ba4295d18e 100644
--- a/development/scons/scons.SlackBuild
+++ b/development/scons/scons.SlackBuild
@@ -22,12 +22,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-st .
-python ./setup.py build
python ./setup.py install --root=$PKG --symlink-scons
( cd $PKG/usr/man
@@ -46,4 +45,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}