summaryrefslogtreecommitdiff
path: root/audio/mp3splt/mp3splt.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2010-05-13 00:21:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:42 +0200
commitfbb34e63ba51fa7f41e0b5dcfea1f85a5a104c5a (patch)
treea2ca96bde84d2346d9a85b44225bcd6c9731a9bb /audio/mp3splt/mp3splt.SlackBuild
parent0ddeb692fe7f9294d5c99e396965a770e1dc4536 (diff)
downloadslackbuilds-fbb34e63ba51fa7f41e0b5dcfea1f85a5a104c5a.tar.gz
audio/mp3splt: Updated for version 2.2.6a
Diffstat (limited to 'audio/mp3splt/mp3splt.SlackBuild')
-rw-r--r--audio/mp3splt/mp3splt.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/mp3splt/mp3splt.SlackBuild b/audio/mp3splt/mp3splt.SlackBuild
index 18f2ea62b9..5286c06d39 100644
--- a/audio/mp3splt/mp3splt.SlackBuild
+++ b/audio/mp3splt/mp3splt.SlackBuild
@@ -5,7 +5,7 @@
# Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt
-VERSION=${VERSION:-2.2.3}
+VERSION=${VERSION:-2.2.6a}
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
@@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
@@ -61,7 +65,7 @@ make install DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -69,4 +73,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}