summaryrefslogtreecommitdiff
path: root/network/naim/naim.SlackBuild
diff options
context:
space:
mode:
authorNai <bluedbs@gmail.com>2010-05-13 00:37:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:37:26 +0200
commit414d6e7ca6c4a9221d700a9c062c99d8c4dbee61 (patch)
tree232fdc7fa343bc2a49b5b152a4ca562a74cb309d /network/naim/naim.SlackBuild
parentf36565bc7e7ffb6df4fb4fa1e3ca6991de24ac99 (diff)
downloadslackbuilds-414d6e7ca6c4a9221d700a9c062c99d8c4dbee61.tar.gz
network/naim: Updated for version 0.11.8.3.2
Diffstat (limited to 'network/naim/naim.SlackBuild')
-rw-r--r--network/naim/naim.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/naim/naim.SlackBuild b/network/naim/naim.SlackBuild
index fdae433dd7..4a483a4edb 100644
--- a/network/naim/naim.SlackBuild
+++ b/network/naim/naim.SlackBuild
@@ -16,10 +16,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -70,4 +73,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}