summaryrefslogtreecommitdiffstats
path: root/audio/asunder/asunder.SlackBuild
diff options
context:
space:
mode:
author Frank Caraballo2010-05-13 00:20:49 +0200
committer Michiel van Wessem2010-05-13 00:20:49 +0200
commita6cc15cc5a3fbd0c5247f7ecd31c5b5963c5b033 (patch)
tree596846bd490169ce875423a9e4cf10de650f81b7 /audio/asunder/asunder.SlackBuild
parentdd8efeefbaea989dff119fbbe48c93fc6aa76327 (diff)
downloadslackbuilds-a6cc15cc5a3fbd0c5247f7ecd31c5b5963c5b033.tar.gz
audio/asunder: Updated for version 1.6.2
Diffstat (limited to 'audio/asunder/asunder.SlackBuild')
-rw-r--r--audio/asunder/asunder.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/asunder/asunder.SlackBuild b/audio/asunder/asunder.SlackBuild
index d5b57a32e7..fa8b75bf01 100644
--- a/audio/asunder/asunder.SlackBuild
+++ b/audio/asunder/asunder.SlackBuild
@@ -35,10 +35,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
@@ -57,6 +60,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
@@ -75,4 +79,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}