From a435888ae1f2c4e9b8972c3a0df56b1a1f5d456c Mon Sep 17 00:00:00 2001 From: Andrew Brouwers Date: Thu, 13 May 2010 00:21:48 +0200 Subject: audio/mt-daapd: Updated for version 0.2.4.2 --- audio/mt-daapd/mt-daapd.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'audio/mt-daapd/mt-daapd.SlackBuild') 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} -- cgit v1.2.3