diff options
Diffstat (limited to 'audio/flac123/flac123.SlackBuild')
-rw-r--r-- | audio/flac123/flac123.SlackBuild | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/audio/flac123/flac123.SlackBuild b/audio/flac123/flac123.SlackBuild index 37067130a0..739635c525 100644 --- a/audio/flac123/flac123.SlackBuild +++ b/audio/flac123/flac123.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for flac123 - +# Copyright 2017 Klaatu, Wellington NZ # Copyright 2008-2009 Andrew Strong (http://www.andrews-corner.org) # All rights reserved. # @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=flac123 -VERSION=${VERSION:-0.0.11} +VERSION=${VERSION:-0.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,14 +60,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-release.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -76,14 +76,16 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux +#patch out hardcoded aclocal and automake versions +sed -i 's/aclocal-1.11/aclocal/g' Makefile +sed -i 's/automake-1.11/automake/g' Makefile + 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 -# Unfortunately there are no man or info pages for this program. - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION |