summaryrefslogtreecommitdiff
path: root/audio/iripdb/iripdb.SlackBuild
diff options
context:
space:
mode:
authorMarcel de Reus <marceldereus@nedlinux.nl>2010-05-13 00:21:20 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:20 +0200
commit881a96812e46163d1e3208cdb0c76db6ae14f917 (patch)
treeb2b0e46125726688c10e9e1220b53ec03bacdaba /audio/iripdb/iripdb.SlackBuild
parenta4e196804b255462af7c3034762ac0f0bac11e6a (diff)
downloadslackbuilds-881a96812e46163d1e3208cdb0c76db6ae14f917.tar.gz
audio/iripdb: Updated for version 0.1.3b
Diffstat (limited to 'audio/iripdb/iripdb.SlackBuild')
-rw-r--r--audio/iripdb/iripdb.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/iripdb/iripdb.SlackBuild b/audio/iripdb/iripdb.SlackBuild
index 78745c3445..a6422d58fd 100644
--- a/audio/iripdb/iripdb.SlackBuild
+++ b/audio/iripdb/iripdb.SlackBuild
@@ -9,6 +9,7 @@ VERSION=0.1.3b
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -16,8 +17,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 # Exit on most errors
@@ -45,4 +51,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}