libraries/libsamplerate: Updated for version 0.1.4

This commit is contained in:
Paul Wisehart 2010-05-11 22:24:07 +02:00 committed by Robby Workman
parent 0d9c99f187
commit 38e639d46d
3 changed files with 21 additions and 19 deletions

View file

@ -5,9 +5,9 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=libsamplerate
VERSION=0.1.2
VERSION=0.1.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
@ -38,15 +40,15 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--localstatedir=/var
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README doc/* $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="libsamplerate"
VERSION="0.1.2"
VERSION="0.1.4"
HOMEPAGE="http://www.mega-nerd.com/SRC/"
DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.2.tar.gz"
MD5SUM="06861c2c6b8e5273c9b80cf736b9fd0e"
DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.4.tar.gz"
MD5SUM="f6fafd5d4971a2442352c72bc3598cbd"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
APPROVED="BP{k},rworkman"
APPROVED="rworkman"

View file

@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
|-----handy-ruler-----------------------------------------------|
libsamplerate: libsamplerate (Sample Rate Converter for audio)
libsamplerate:
libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter
libsamplerate: for audio. One example of where such a thing would be useful is
libsamplerate: converting audio from the CD sample rate of 44.1kHz to the 48kHz
libsamplerate: sample rate used by DAT players. SRC is capable of arbitrary
libsamplerate: and time varying conversions. SRC provides a small set of
libsamplerate: converters to allow quality to be traded off against
libsamplerate: computation cost.
libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate
libsamplerate: Converter for audio. One example of where such a thing
libsamplerate: would be useful is converting audio from the CD sample rate
libsamplerate: of 44.1kHz to the 48kHz sample rate used by DAT players.
libsamplerate: SRC is capable of arbitrary and time varying conversions.
libsamplerate: SRC provides a small set of converters to allow quality to
libsamplerate: be traded off against computation cost.
libsamplerate:
libsamplerate: