mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
network/SocksiPy: Updated for version 1.0.0
This commit is contained in:
parent
8482fb6905
commit
ac54ee7a08
2 changed files with 5 additions and 6 deletions
|
@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCS="LICENSE README"
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -55,8 +53,7 @@ find . \
|
||||||
# Add setup.py
|
# Add setup.py
|
||||||
cat $CWD/setup.py > setup.py
|
cat $CWD/setup.py > setup.py
|
||||||
|
|
||||||
python setup.py bdist
|
python setup.py install --root=$PKG
|
||||||
tar zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG
|
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
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
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="1.0.0"
|
||||||
HOMEPAGE="http://socksipy.sourceforge.net/"
|
HOMEPAGE="http://socksipy.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/socksipy/SocksiPy.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/socksipy/SocksiPy.tar.gz"
|
||||||
MD5SUM="3be8be26230bc9eca94eb3335740ed5e"
|
MD5SUM="3be8be26230bc9eca94eb3335740ed5e"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue