mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libsamplerate: Updated for version 0.1.2
This commit is contained in:
parent
8ff07cbaf6
commit
70977bd947
4 changed files with 23 additions and 18 deletions
|
@ -1,5 +1,3 @@
|
|||
Author : Erik de Castro Lopo
|
||||
|
||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter
|
||||
for audio. One example of where such a thing would be useful is
|
||||
converting audio from the CD sample rate of 44.1kHz to the 48kHz
|
||||
|
@ -17,5 +15,3 @@ off against computation cost. The current best converter provides
|
|||
a signal-to-noise ratio of 97dB with -3dB passband extending from
|
||||
DC to 96% of the theoretical best bandwidth for a given pair of
|
||||
input and output sample rates.
|
||||
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
# Slackware build script for libsamplerate 0.1.2
|
||||
# Written by paul wisehart wise@lupulin.net
|
||||
|
||||
# Modified by the SlackBuild project.
|
||||
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
|
||||
PRGNAM=libsamplerate
|
||||
VERSION=0.1.2
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -21,25 +21,27 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--localstatedir=/var || exit 1
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--localstatedir=/var
|
||||
|
||||
make DESTDIR=$PKG || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
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
|
||||
|
|
|
@ -5,5 +5,4 @@ DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.2.tar.gz"
|
|||
MD5SUM="06861c2c6b8e5273c9b80cf736b9fd0e"
|
||||
MAINTAINER="paul wisehart"
|
||||
EMAIL="wise@lupulin.net"
|
||||
APPROVED="BP{k}"
|
||||
|
||||
APPROVED="BP{k},rworkman"
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libsamplerate: libsamplerate (Sample Rate Converter for audio)
|
||||
libsamplerate:
|
||||
libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter
|
||||
|
|
Loading…
Reference in a new issue