diff options
Diffstat (limited to 'audio/shntool')
-rw-r--r-- | audio/shntool/README | 3 | ||||
-rw-r--r-- | audio/shntool/shntool.SlackBuild | 18 | ||||
-rw-r--r-- | audio/shntool/shntool.info | 2 |
3 files changed, 16 insertions, 7 deletions
diff --git a/audio/shntool/README b/audio/shntool/README index 900798a7ca..2cd5bbd52d 100644 --- a/audio/shntool/README +++ b/audio/shntool/README @@ -8,3 +8,6 @@ well as aid other programmers in developing new functionality. The distribution archive contains a file named 'modules.howto' that describes how to create a new mode or format module, for those so inclined. + +If you wish to have shntool support shorten, you should install the +shorten (also available from SlackBuilds.org) first. diff --git a/audio/shntool/shntool.SlackBuild b/audio/shntool/shntool.SlackBuild index 4223211fc3..dc2199eb45 100644 --- a/audio/shntool/shntool.SlackBuild +++ b/audio/shntool/shntool.SlackBuild @@ -5,9 +5,9 @@ # Released under the WTFPL PRGNAM=shntool -VERSION=3.0.8 +VERSION=${VERSION:-3.0.8} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -40,20 +42,24 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --mandir=/usr/man + --mandir=/usr/man \ + --build=$ARCH-slackware-linux make make DESTDIR=$PKG install ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | + xargs strip --strip-unneeded 2> /dev/null ) +gzip -9 $PKG/usr/man/man1/$PRGNAM.1 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [ACINR]* doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/audio/shntool/shntool.info b/audio/shntool/shntool.info index 59d853f32c..8b21cb95df 100644 --- a/audio/shntool/shntool.info +++ b/audio/shntool/shntool.info @@ -5,4 +5,4 @@ DOWNLOAD="http://shnutils.freeshell.org/shntool/dist/src/shntool-3.0.8.tar.gz" MD5SUM="916a5a8625288a5f9edc2ef3567f51d8" MAINTAINER="slakmagik" EMAIL="jsun@freeshell.org" -APPROVED="dsomero" +APPROVED="rworkman" |