summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Marco Bonetti <sid77@slackware.it>2010-05-13 00:35:29 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-13 00:35:29 +0200
commitac54ee7a08e89ae19e4a0a54ac23af3ac5db0bba (patch)
tree1a302bd6d4f188b0b9cd5eb88506b874dded2cd3
parent8482fb6905f763617c2612a989b900780f8c7a10 (diff)
downloadslackbuilds-ac54ee7a08e89ae19e4a0a54ac23af3ac5db0bba.tar.gz
slackbuilds-ac54ee7a08e89ae19e4a0a54ac23af3ac5db0bba.tar.xz
network/SocksiPy: Updated for version 1.0.0
-rw-r--r--network/SocksiPy/SocksiPy.SlackBuild9
-rw-r--r--network/SocksiPy/SocksiPy.info2
2 files changed, 5 insertions, 6 deletions
diff --git a/network/SocksiPy/SocksiPy.SlackBuild b/network/SocksiPy/SocksiPy.SlackBuild
index 8aab767cee..9be669cb6e 100644
--- a/network/SocksiPy/SocksiPy.SlackBuild
+++ b/network/SocksiPy/SocksiPy.SlackBuild
@@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE README"
-
set -e
rm -rf $PKG
@@ -55,8 +53,7 @@ find . \
# Add setup.py
cat $CWD/setup.py > setup.py
-python setup.py bdist
-tar zxvf dist/$PRGNAM-$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 : | \
@@ -66,11 +63,11 @@ tar zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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}
diff --git a/network/SocksiPy/SocksiPy.info b/network/SocksiPy/SocksiPy.info
index 84d5f94af9..895c722cc0 100644
--- a/network/SocksiPy/SocksiPy.info
+++ b/network/SocksiPy/SocksiPy.info
@@ -3,6 +3,8 @@ VERSION="1.0.0"
HOMEPAGE="http://socksipy.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/socksipy/SocksiPy.tar.gz"
MD5SUM="3be8be26230bc9eca94eb3335740ed5e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"