summaryrefslogtreecommitdiff
path: root/libraries/libffado/libffado.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-10 12:23:46 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:51:51 -0600
commit290ca5a691eb381d31733be1c576ad44abdbfafa (patch)
treeede6ba4c505814c61972c390ad0721c58e8ccaea /libraries/libffado/libffado.SlackBuild
parent88b86d40634bcbd2e724e53c175b5d398b3a8e87 (diff)
downloadslackbuilds-290ca5a691eb381d31733be1c576ad44abdbfafa.tar.gz
libraries/libffado: Updated for version 2.1.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libffado/libffado.SlackBuild')
-rw-r--r--libraries/libffado/libffado.SlackBuild13
1 files changed, 6 insertions, 7 deletions
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