diff options
Diffstat (limited to 'network/scapy/scapy.SlackBuild')
-rw-r--r-- | network/scapy/scapy.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild index af073ffff9b9e..89ae0c8bb5365 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} |