From f9af97f54ab4003b181f491e42fb179708286ead Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 12 May 2010 17:37:05 +0200 Subject: audio/jack-audio-connection-kit: Updated for version 0.116.2 --- .../jack-audio-connection-kit.SlackBuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild') 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 +# Copyright 2007-2009 Heinz Wiesinger # 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 -- cgit v1.2.3