summaryrefslogtreecommitdiff
path: root/audio/mt-daapd
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
parent000b08cacea8e87e5d8c67f11725f813920f0645 (diff)
downloadslackbuilds-a435888ae1f2c4e9b8972c3a0df56b1a1f5d456c.tar.gz
audio/mt-daapd: Updated for version 0.2.4.2
Diffstat (limited to 'audio/mt-daapd')
-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 eebb1e8ec6..e833288a6d 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 ed4160fd3d..29a441ba42 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"