summaryrefslogtreecommitdiff
path: root/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild')
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index 03a91e45dd..fe944530be 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -5,7 +5,7 @@
# Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-0.5.7a}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,10 +17,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
set -e
@@ -44,6 +47,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--enable-audacious \
--enable-gstreamer \
--build=$ARCH-slackware-linux
@@ -68,4 +73,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}