aboutsummaryrefslogtreecommitdiff
path: root/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:37:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:37:05 +0200
commitf9af97f54ab4003b181f491e42fb179708286ead (patch)
treeb044ce2f74fb9e9c44880418568c8f678f8c0cf4 /audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
parenta6dae2a080293fba90d29536e2feafbd0550418f (diff)
audio/jack-audio-connection-kit: Updated for version 0.116.2
Diffstat (limited to 'audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild')
-rw-r--r--audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
index d55ebf4b3aac0..e424eb9c338ab 100644
--- a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
+++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jack-audio-connection-kit
-# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,9 +26,9 @@
# No additional license terms added :)
PRGNAM=jack-audio-connection-kit
-VERSION=0.109.2
+VERSION=0.116.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -38,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -74,20 +77,22 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--with-html-dir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
- --enable-resize \
- --enable-timestamps \
+ --enable-optimize \
--with-default-tmpdir=$JACKTMP \
- --enable-stripped-jackd \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done