summaryrefslogtreecommitdiff
path: root/audio/speex
diff options
context:
space:
mode:
Diffstat (limited to 'audio/speex')
-rw-r--r--audio/speex/speex.SlackBuild21
-rw-r--r--audio/speex/speex.info6
2 files changed, 14 insertions, 13 deletions
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild
index c4bc578625..1b719186d3 100644
--- a/audio/speex/speex.SlackBuild
+++ b/audio/speex/speex.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for speex
-# Copyright (c) 2012 Vliegendehuiskat
# Copyright (c) 2007 Alex Lysenka <me@alkos333.net>
+# Copyright (c) 2012 Vliegendehuiskat
+# Copyright (c) 2014-2015 Matteo Bernardini <ponce@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,11 +25,12 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
# Modified by SlackBuilds.org
PRGNAM=speex
-VERSION=1.2rc1
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.2rc2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +71,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -87,17 +89,16 @@ CXXFLAGS="$SLKCFLAGS" \
make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 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
-)
+# Man pages aren't installed by "make install" anymore...
+mkdir -p $PKG/usr/man/man1
+for i in speexenc speexdec; do gzip -c9 src/$i.1 > $PKG/usr/man/man1/$i.1.gz; done
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chown root:root {} \; -exec chmod 644 {} \;
diff --git a/audio/speex/speex.info b/audio/speex/speex.info
index b4c370e3cd..9c4dbfdc18 100644
--- a/audio/speex/speex.info
+++ b/audio/speex/speex.info
@@ -1,8 +1,8 @@
PRGNAM="speex"
-VERSION="1.2rc1"
+VERSION="1.2rc2"
HOMEPAGE="http://www.speex.org"
-DOWNLOAD="http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
-MD5SUM="c4438b22c08e5811ff10e2b06ee9b9ae"
+DOWNLOAD="http://downloads.us.xiph.org/releases/speex/speex-1.2rc2.tar.gz"
+MD5SUM="6ae7db3bab01e1d4b86bacfa8ca33e81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""