summaryrefslogtreecommitdiff
path: root/audio/gnump3d/gnump3d.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave {at} gmail {dot} com>2010-05-13 00:21:12 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:21:12 +0200
commit7ff62e5f07ba84ecb51705242bbe18f340bb01dc (patch)
tree4d17f19dde4a9a9aac01937d0fceef5082fe2c09 /audio/gnump3d/gnump3d.SlackBuild
parent0beae8c9cf6dea0ef83fec57a0df2d7286b37e83 (diff)
downloadslackbuilds-7ff62e5f07ba84ecb51705242bbe18f340bb01dc.tar.gz
audio/gnump3d: Updated for version 3.0
Diffstat (limited to 'audio/gnump3d/gnump3d.SlackBuild')
-rw-r--r--audio/gnump3d/gnump3d.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/gnump3d/gnump3d.SlackBuild b/audio/gnump3d/gnump3d.SlackBuild
index e11f3997e2..3351e4cd16 100644
--- a/audio/gnump3d/gnump3d.SlackBuild
+++ b/audio/gnump3d/gnump3d.SlackBuild
@@ -39,10 +39,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
# gnump3d gets the library directory from a short perl script in the
# source directory, thus, there's no need to specify a suffix in this
@@ -94,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}