From 0e2615b79f404959099aef99d5931c2ecdd9ebd7 Mon Sep 17 00:00:00 2001 From: Roberto Neri Date: Tue, 19 Jul 2011 07:48:47 -0300 Subject: audio/mp3splt-gtk: Updated for version 0.7. Signed-off-by: Niels Horn --- audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild') 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 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 \ -- cgit v1.2.3