aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-cluster/python-cluster.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:33:15 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:15 +0200
commitf05f4fe3247493d2b70c6ce349dd624706918e21 (patch)
treec0f1ffc08d4d885baac98535cbe468f9f851d005 /libraries/python-cluster/python-cluster.SlackBuild
parenta3740a34e9f67565f8130557e9466cf2e5eca638 (diff)
libraries/python-cluster: Updated for version 1.1.1b3
Diffstat (limited to 'libraries/python-cluster/python-cluster.SlackBuild')
-rw-r--r--libraries/python-cluster/python-cluster.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/python-cluster/python-cluster.SlackBuild b/libraries/python-cluster/python-cluster.SlackBuild
index 81bda6f1e5539..24d5032fab730 100644
--- a/libraries/python-cluster/python-cluster.SlackBuild
+++ b/libraries/python-cluster/python-cluster.SlackBuild
@@ -52,8 +52,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py bdist
-tar zxvf dist/$SRCNAM-$VERSION.linux-i686.tar.gz -C $PKG
+python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -70,4 +69,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}