summaryrefslogtreecommitdiff
path: root/audio/speex/speex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/speex/speex.SlackBuild')
-rw-r--r--audio/speex/speex.SlackBuild40
1 files changed, 2 insertions, 38 deletions
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild
index 2b467f6384..e5fddce259 100644
--- a/audio/speex/speex.SlackBuild
+++ b/audio/speex/speex.SlackBuild
@@ -4,7 +4,7 @@
# Copyright (c) 2007 Alex Lysenka <me@alkos333.net>
# Copyright (c) 2012 Vliegendehuiskat
-# Copyright (c) 2014-2015 Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright (c) 2014-2016 Matteo Bernardini <ponce@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,7 @@
PRGNAM=speex
VERSION=${VERSION:-1.2rc2}
-DSPVERSION=${DSPVERSION:-1.2rc3}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,41 +65,6 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}dsp-$DSPVERSION
-tar xvf $CWD/${PRGNAM}dsp-$DSPVERSION.tar.gz
-cd ${PRGNAM}dsp-$DSPVERSION
-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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Thanks to the folks at alpine linux for this
-patch -p1 < $CWD/speexdsp-fixbuilds-774c87d.patch
-autoreconf -fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION/dsp \
- --enable-static=no \
- --enable-sse \
- --build=$ARCH-slackware-linux
-
-# Hack to also make it look in the right directory on multilib systems
-make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
-make install DESTDIR=$PKG
-
-cp -a \
- README* TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION/dsp
-find $PKG/usr/doc -type f -exec chown root:root {} \; -exec chmod 644 {} \;
-
-cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION