audio/speex: Moved from multimedia

This commit is contained in:
Heinz Wiesinger 2010-05-11 20:30:56 +02:00
parent db849944b9
commit 89a9de9fdb
5 changed files with 21 additions and 18 deletions

View file

@ -1,6 +1,5 @@
#!/bin/sh
# Slackware build script for speex
# Copyright (c) 2007 Alex Lysenka <me@alkos333.net>
# All rights reserved.
@ -30,32 +29,36 @@
# 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.
set -e
# Modified by SlackBuilds.org
PRGNAM=speex
VERSION=1.2beta2
VERSION=1.2rc1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$( pwd )
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
#chown -R root:root .
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
@ -65,10 +68,10 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--docdir=/usr/doc/$PRGNAM-$VERSION
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
make
make install-strip DESTDIR=$PKG
mv $PKG/usr/share/doc $PKG/usr/share/man $PKG/usr
mv $PKG/usr/share/man $PKG/usr
gzip -9 $PKG/usr/man/man?/*
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \

8
audio/speex/speex.info Normal file
View file

@ -0,0 +1,8 @@
PRGNAM="speex"
VERSION="1.2rc1"
HOMEPAGE="http://www.speex.org"
DOWNLOAD="http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
MD5SUM="c4438b22c08e5811ff10e2b06ee9b9ae"
MAINTAINER="alkos333"
EMAIL="me@alkos333.net"
APPROVED="dsomero"

View file

@ -1,8 +0,0 @@
PRGNAM="speex"
VERSION="1.2beta2"
HOMEPAGE="http://www.speex.org"
DOWNLOAD="http://downloads.us.xiph.org/releases/speex/speex-1.2beta2.tar.gz"
MD5SUM="5480fa53a7451603ecb57ff815c87ac0"
MAINTAINER="Alex Lysenka"
EMAIL="me@alkos333.net"
APPROVED="rworkman,alien"