summaryrefslogtreecommitdiffstats
path: root/audio/flac123/flac123.SlackBuild
diff options
context:
space:
mode:
author Klaatu <klaatu@member.fsf.org>2017-04-17 07:48:18 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 07:48:18 +0700
commitdb382e6254de99cd940e269b2417a287d3efa6f2 (patch)
tree4ccdb440b0fcad24918c6b901512f3bbfb86a1eb /audio/flac123/flac123.SlackBuild
parent7445056a7833fef10fbeaea6089cae2bb432e44b (diff)
downloadslackbuilds-db382e6254de99cd940e269b2417a287d3efa6f2.tar.gz
slackbuilds-db382e6254de99cd940e269b2417a287d3efa6f2.tar.xz
audio/flac123: Updated for version 0.0.12 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/flac123/flac123.SlackBuild')
-rw-r--r--audio/flac123/flac123.SlackBuild22
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