From 92339a3e9028e4f6cda51ddeb749a9af0b987535 Mon Sep 17 00:00:00 2001 From: Pierre Cazenave Date: Wed, 12 May 2010 17:37:08 +0200 Subject: audio/listener: Updated for version 1.7.2 --- audio/listener/listener.SlackBuild | 18 +++++++++++------- audio/listener/listener.info | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'audio') diff --git a/audio/listener/listener.SlackBuild b/audio/listener/listener.SlackBuild index 7473a26082..0fa76117a3 100644 --- a/audio/listener/listener.SlackBuild +++ b/audio/listener/listener.SlackBuild @@ -11,12 +11,13 @@ # Pierre Cazenave # # Created 07/08/2008 +# Updated for Slackware64 28/05/2009 # PRGNAM=listener VERSION=1.7.2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -32,13 +33,16 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 -rm -rf listener-1.7.2 -tar -xvzf $CWD/$PRGNAM-${VERSION}.tgz || exit 1 -cd listener-1.7.2 || exit 1 +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xvzf $CWD/$PRGNAM-$VERSION.tgz +cd $PRGNAM-$VERSION chown -R root:root . + find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ @@ -59,9 +63,9 @@ sed -i 's@/usr/local/etc/listener.conf@/etc/listener.conf@' manual.html make install INSTALL_PREFIX=$PKG -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null -# make the documentation directories and install the documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION ( cp -a license.txt manual.html $PKG/usr/doc/$PRGNAM-$VERSION ) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/listener/listener.info b/audio/listener/listener.info index 47a15635aa..9575108bf3 100644 --- a/audio/listener/listener.info +++ b/audio/listener/listener.info @@ -5,4 +5,4 @@ DOWNLOAD="http://www.vanheusden.com/listener/listener-1.7.2.tgz" MD5SUM="8ad9c24c45c7d28aed606304a2bf80bf" MAINTAINER="Pierre Cazenave" EMAIL="pwcazenave gmail com" -APPROVED="David Somero" \ No newline at end of file +APPROVED="dsomero" -- cgit v1.2.3