aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:20:49 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:20:49 +0200
commita6cc15cc5a3fbd0c5247f7ecd31c5b5963c5b033 (patch)
tree596846bd490169ce875423a9e4cf10de650f81b7
parentdd8efeefbaea989dff119fbbe48c93fc6aa76327 (diff)
audio/asunder: Updated for version 1.6.2
-rw-r--r--audio/asunder/asunder.SlackBuild6
-rw-r--r--audio/asunder/asunder.info2
-rw-r--r--audio/asunder/doinst.sh4
3 files changed, 9 insertions, 3 deletions
diff --git a/audio/asunder/asunder.SlackBuild b/audio/asunder/asunder.SlackBuild
index d5b57a32e76fc..fa8b75bf01971 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}
diff --git a/audio/asunder/asunder.info b/audio/asunder/asunder.info
index 838809dce228c..d8dd89c16a10d 100644
--- a/audio/asunder/asunder.info
+++ b/audio/asunder/asunder.info
@@ -2,7 +2,9 @@ PRGNAM="asunder"
VERSION="1.6.2"
HOMEPAGE="http://littlesvr.ca/asunder/"
DOWNLOAD="http://littlesvr.ca/asunder/releases/asunder-1.6.2.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="6e9bd170497cb9cd36a544bd36e9634c"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="Michiel"
diff --git a/audio/asunder/doinst.sh b/audio/asunder/doinst.sh
index 5dc6bb58c008d..140e33222297c 100644
--- a/audio/asunder/doinst.sh
+++ b/audio/asunder/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi