summaryrefslogtreecommitdiff
path: root/audio/iripdb
diff options
context:
space:
mode:
Diffstat (limited to 'audio/iripdb')
-rw-r--r--audio/iripdb/iripdb.SlackBuild8
-rw-r--r--audio/iripdb/iripdb.info2
2 files changed, 9 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}
diff --git a/audio/iripdb/iripdb.info b/audio/iripdb/iripdb.info
index 87f303098b..b81d123f54 100644
--- a/audio/iripdb/iripdb.info
+++ b/audio/iripdb/iripdb.info
@@ -2,7 +2,9 @@ PRGNAM="iripdb"
VERSION="0.1.3b"
HOMEPAGE="http://www.fataltourist.com/iripdb/"
DOWNLOAD="http://www.fataltourist.com/iripdb/iRipDB-0.1.3b.zip"
+DOWNLOAD_x86_64=""
MD5SUM="e3e6701762dcf5927ae10082969fdace"
+MD5SUM_x86_64=""
MAINTAINER="Marcel de Reus"
EMAIL="marceldereus@nedlinux.nl"
APPROVED="rworkman"