mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
audio/speex: Updated for version 1.2rc2.
Thanks to Ryan P.C. McQuen for the heads up and the notice about the man pages Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
ce330b16fa
commit
5e3fb752b0
2 changed files with 14 additions and 13 deletions
|
@ -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 {} \;
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue