summaryrefslogtreecommitdiff
path: root/audio/mp3splt-gtk
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2010-05-13 00:21:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:41 +0200
commit0ddeb692fe7f9294d5c99e396965a770e1dc4536 (patch)
tree967f0ebeb510733eddaa390bcea6e863438377c5 /audio/mp3splt-gtk
parentc098cfdefc607d0cddc7d7429eb6977fc766d399 (diff)
downloadslackbuilds-0ddeb692fe7f9294d5c99e396965a770e1dc4536.tar.gz
audio/mp3splt-gtk: Updated for version 0.5.7a
Diffstat (limited to 'audio/mp3splt-gtk')
-rw-r--r--audio/mp3splt-gtk/doinst.sh2
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild9
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.info8
3 files changed, 13 insertions, 6 deletions
diff --git a/audio/mp3splt-gtk/doinst.sh b/audio/mp3splt-gtk/doinst.sh
index 65fd352418..4e8ba7071d 100644
--- a/audio/mp3splt-gtk/doinst.sh
+++ b/audio/mp3splt-gtk/doinst.sh
@@ -1,4 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
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}
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.info b/audio/mp3splt-gtk/mp3splt-gtk.info
index bc401be115..60da650379 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.info
+++ b/audio/mp3splt-gtk/mp3splt-gtk.info
@@ -1,8 +1,10 @@
PRGNAM="mp3splt-gtk"
-VERSION="0.5.4"
+VERSION="0.5.7a"
HOMEPAGE="http://mp3splt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.4.tar.gz"
-MD5SUM="b423b57e2c2ab4325d5b66c6a8da9bdb"
+DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.7a.tar.gz"
+MD5SUM="932eed8faf227e5f53dad3f3afba9bdf"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Roberto Neri"
EMAIL="rneri@libero.it"
APPROVED="rworkman"