summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail dot com>2010-05-12 17:37:08 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:37:08 +0200
commit92339a3e9028e4f6cda51ddeb749a9af0b987535 (patch)
tree458a0f065818f316de9fedbaabacceb775ca518c
parent1ee225c0713ed0cb3824cd2dbb1e86044a1a68ae (diff)
downloadslackbuilds-92339a3e9028e4f6cda51ddeb749a9af0b987535.tar.gz
audio/listener: Updated for version 1.7.2
-rw-r--r--audio/listener/listener.SlackBuild18
-rw-r--r--audio/listener/listener.info2
2 files changed, 12 insertions, 8 deletions
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 <at> gmail <dot> com"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="dsomero"