summaryrefslogtreecommitdiff
path: root/libraries/zsi/zsi.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:33:59 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:59 +0200
commit31e942a203d20c6b1ac5d3ab3cbbc82fdc552086 (patch)
treea5a037fa993761053c77cd8fc1bab37f7591a15e /libraries/zsi/zsi.SlackBuild
parent75096e17eb2639b2338ea258be8d6a67744408d5 (diff)
downloadslackbuilds-31e942a203d20c6b1ac5d3ab3cbbc82fdc552086.tar.gz
libraries/zsi: Updated for version 2.1a1
Diffstat (limited to 'libraries/zsi/zsi.SlackBuild')
-rw-r--r--libraries/zsi/zsi.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/zsi/zsi.SlackBuild b/libraries/zsi/zsi.SlackBuild
index 0b20289a20..00d88a1f13 100644
--- a/libraries/zsi/zsi.SlackBuild
+++ b/libraries/zsi/zsi.SlackBuild
@@ -35,10 +35,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
rm -rf $PKG
@@ -68,4 +71,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}