aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/mt-daapd/mt-daapd.SlackBuild6
-rw-r--r--audio/mt-daapd/mt-daapd.info2
2 files changed, 7 insertions, 1 deletions
diff --git a/audio/mt-daapd/mt-daapd.SlackBuild b/audio/mt-daapd/mt-daapd.SlackBuild
index eebb1e8ec606..e833288a6d1b 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}
diff --git a/audio/mt-daapd/mt-daapd.info b/audio/mt-daapd/mt-daapd.info
index ed4160fd3dd5..29a441ba42bd 100644
--- a/audio/mt-daapd/mt-daapd.info
+++ b/audio/mt-daapd/mt-daapd.info
@@ -2,7 +2,9 @@ PRGNAM="mt-daapd"
VERSION="0.2.4.2"
HOMEPAGE="http://mt-daapd.org"
DOWNLOAD="http://downloads.sourceforge.net/mt-daapd/mt-daapd-0.2.4.2.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="67bef9fb14d487693b0dfb792c3f1b05"
+MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"
APPROVED="rworkman"