From 290ca5a691eb381d31733be1c576ad44abdbfafa Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 10 Nov 2013 12:23:46 +0100 Subject: libraries/libffado: Updated for version 2.1.0. Signed-off-by: Heinz Wiesinger --- libraries/libffado/libffado.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libraries/libffado/libffado.SlackBuild') diff --git a/libraries/libffado/libffado.SlackBuild b/libraries/libffado/libffado.SlackBuild index d8017f5a3d..5fb643187f 100644 --- a/libraries/libffado/libffado.SlackBuild +++ b/libraries/libffado/libffado.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libffado -# Copyright 2010-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2010-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libffado -VERSION=2.0.1 -BUILD=${BUILD:-2} +VERSION=2.1.0 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,7 +60,7 @@ 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.tgz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -69,9 +69,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix building with gcc 4.7 -patch -p1 -i $CWD/libffado-gcc47.patch - # Use our CFLAGS sed -i "s/-O2 -DNDEBUG/$SLKCFLAGS -DNDEBUG/" SConstruct @@ -99,6 +96,8 @@ install -m 0644 support/xdg/hi64-apps-ffado.png \ find $PKG | xargs 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 {} \; + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog LICENSE* NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3