aboutsummaryrefslogtreecommitdiff
path: root/audio/mt-daapd/mt-daapd.SlackBuild
diff options
context:
space:
mode:
authorAndrew Brouwers <abrouwers@gmail.com>2010-05-13 00:21:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:48 +0200
commita435888ae1f2c4e9b8972c3a0df56b1a1f5d456c (patch)
tree52d1baa778f1fbb880d46b287387fd447f1f7405 /audio/mt-daapd/mt-daapd.SlackBuild
parent000b08cacea8e87e5d8c67f11725f813920f0645 (diff)
audio/mt-daapd: Updated for version 0.2.4.2
Diffstat (limited to 'audio/mt-daapd/mt-daapd.SlackBuild')
-rw-r--r--audio/mt-daapd/mt-daapd.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/mt-daapd/mt-daapd.SlackBuild b/audio/mt-daapd/mt-daapd.SlackBuild
index eebb1e8ec6060..e833288a6d1b0 100644
--- a/audio/mt-daapd/mt-daapd.SlackBuild
+++ b/audio/mt-daapd/mt-daapd.SlackBuild
@@ -37,10 +37,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
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux \
|| exit 1
@@ -79,4 +83,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}