summaryrefslogtreecommitdiff
path: root/network/aircrack-ng/aircrack-ng.SlackBuild
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-13 00:35:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:31 +0200
commit11b776e993f4ccf3e12dbf3efc78e909f1a68a1f (patch)
treec375d732cc33465a655cb42139b599a5bbcc966d /network/aircrack-ng/aircrack-ng.SlackBuild
parentb2ff69f8d403c33a776b36b9db3f3fa06f9aef35 (diff)
downloadslackbuilds-11b776e993f4ccf3e12dbf3efc78e909f1a68a1f.tar.gz
network/aircrack-ng: Updated for version 1.0_rc3
Diffstat (limited to 'network/aircrack-ng/aircrack-ng.SlackBuild')
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index 47a622166e..5cc188cf01 100644
--- a/network/aircrack-ng/aircrack-ng.SlackBuild
+++ b/network/aircrack-ng/aircrack-ng.SlackBuild
@@ -3,7 +3,7 @@
# Written by Yalla-One <yallaone@gmail.com>
PRGNAM=aircrack-ng
-VERSION=1.0_rc2
+VERSION=1.0_rc3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -22,6 +22,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -64,4 +66,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}