summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/streamripper/streamripper.SlackBuild6
-rw-r--r--audio/streamripper/streamripper.info2
2 files changed, 7 insertions, 1 deletions
diff --git a/audio/streamripper/streamripper.SlackBuild b/audio/streamripper/streamripper.SlackBuild
index d29f65d91c..559c184288 100644
--- a/audio/streamripper/streamripper.SlackBuild
+++ b/audio/streamripper/streamripper.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 \
--mandir=/usr/man \
@@ -80,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/streamripper/streamripper.info b/audio/streamripper/streamripper.info
index a22c0a9188..90d61251b8 100644
--- a/audio/streamripper/streamripper.info
+++ b/audio/streamripper/streamripper.info
@@ -2,7 +2,9 @@ PRGNAM="streamripper"
VERSION="1.64.6"
HOMEPAGE="http://streamripper.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/streamripper/streamripper-1.64.6.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="a37a1a8b8f9228522196a122a1c2dd32"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="dsomero"