summaryrefslogtreecommitdiff
path: root/network/scapy/scapy.SlackBuild
diff options
context:
space:
mode:
authorCorrado Franco <conraid@gmail.com>2010-05-13 00:38:11 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:11 +0200
commitdcea5ec04047c4d4eb39e6c1e7136e93f6213224 (patch)
tree0cfcf66c5b459a01d4207988b06c1d4e8bd08d1f /network/scapy/scapy.SlackBuild
parent36a08ec1fa78ec7f386f40b5112dd76857ba172e (diff)
downloadslackbuilds-dcea5ec04047c4d4eb39e6c1e7136e93f6213224.tar.gz
network/scapy: Updated for version 2.0.1
Diffstat (limited to 'network/scapy/scapy.SlackBuild')
-rw-r--r--network/scapy/scapy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild
index af073ffff9..89ae0c8bb5 100644
--- a/network/scapy/scapy.SlackBuild
+++ b/network/scapy/scapy.SlackBuild
@@ -24,9 +24,9 @@
PRGNAM=${PRGNAM:-scapy}
VERSION=${VERSION:-2.0.1}
-ARCH=noarch
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -48,7 +48,7 @@ chmod -R u+w,go+r-w,a-s .
sed -i "s%share/man/man1%man/man1%g" setup.py
python setup.py install --root=$PKG
-
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -57,4 +57,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}