summaryrefslogtreecommitdiff
path: root/audio/amrnb/amrnb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/amrnb/amrnb.SlackBuild')
-rw-r--r--audio/amrnb/amrnb.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/amrnb/amrnb.SlackBuild b/audio/amrnb/amrnb.SlackBuild
index 102ce55446..b5060a458b 100644
--- a/audio/amrnb/amrnb.SlackBuild
+++ b/audio/amrnb/amrnb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for amrnb
-# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2007-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=amrnb
-VERSION=7.0.0.2
+VERSION=${VERSION:-11.0.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-cp $CWD/26104-700.zip .
+cp $CWD/26104-b00.zip .
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -85,8 +85,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install