mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/speex: Remove speexdsp building (already in Slackware).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
6a4d24a08c
commit
a23e6aebab
2 changed files with 4 additions and 42 deletions
|
@ -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
|
||||
|
@ -65,41 +64,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
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
PRGNAM="speex"
|
||||
VERSION="1.2rc2"
|
||||
HOMEPAGE="http://www.speex.org"
|
||||
DOWNLOAD="http://downloads.xiph.org/releases/speex/speex-1.2rc2.tar.gz \
|
||||
http://downloads.xiph.org/releases/speex/speexdsp-1.2rc3.tar.gz"
|
||||
MD5SUM="6ae7db3bab01e1d4b86bacfa8ca33e81 \
|
||||
70d9d31184f7eb761192fd1ef0b73333"
|
||||
DOWNLOAD="http://downloads.xiph.org/releases/speex/speex-1.2rc2.tar.gz"
|
||||
MD5SUM="6ae7db3bab01e1d4b86bacfa8ca33e81"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue