summaryrefslogtreecommitdiff
path: root/audio/mp3blaster/mp3blaster.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3blaster/mp3blaster.SlackBuild')
-rw-r--r--audio/mp3blaster/mp3blaster.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/mp3blaster/mp3blaster.SlackBuild b/audio/mp3blaster/mp3blaster.SlackBuild
index f0b5dff391..7f1e3c8e0e 100644
--- a/audio/mp3blaster/mp3blaster.SlackBuild
+++ b/audio/mp3blaster/mp3blaster.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=mp3blaster
-VERSION=${VERSION:-3.2.5}
+VERSION=${VERSION:-3.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,7 +72,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11 -Wno-narrowing" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -82,14 +82,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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 BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \
+cp -a AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README TODO \
doc/commands.txt doc/sample.mp3blasterrc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild