summaryrefslogtreecommitdiff
path: root/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2011-07-19 07:48:47 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:12 -0500
commit0e2615b79f404959099aef99d5931c2ecdd9ebd7 (patch)
tree0f40637f84db80530aa66edfd3964f4767013478 /audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
parentab1a2081671d46a9eb827c91a505bd54b2325221 (diff)
downloadslackbuilds-0e2615b79f404959099aef99d5931c2ecdd9ebd7.tar.gz
audio/mp3splt-gtk: Updated for version 0.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild')
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index dc24f6b5bc..26e4ca5fe2 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -5,16 +5,14 @@
# Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk
-VERSION=${VERSION:-0.5.9}
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,24 +51,24 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/mp3splt-gtk.desktop.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LIBS=-laudclient \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --disable-gnome \
+ --disable-scrollkeeper \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \