2007-10-24 16:30:03 +10:00
|
|
|
# Description: Sound sample rate conversion library.
|
2021-01-31 20:35:47 +11:00
|
|
|
# URL: https://libsndfile.github.io/libsamplerate/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2007-10-24 16:30:03 +10:00
|
|
|
# Depends on: libsndfile
|
2008-05-15 01:40:50 +10:00
|
|
|
# Optional: fftw
|
2007-10-24 16:30:03 +10:00
|
|
|
|
|
|
|
name=libsamplerate
|
2021-01-31 20:35:47 +11:00
|
|
|
version=0.2.1
|
2007-10-24 16:30:03 +10:00
|
|
|
release=1
|
2021-01-31 20:36:36 +11:00
|
|
|
source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/$name-$version.tar.bz2)
|
2007-10-24 16:30:03 +10:00
|
|
|
|
|
|
|
build() {
|
2009-01-12 13:05:45 +11:00
|
|
|
cd $name-$version
|
2007-10-24 16:30:03 +10:00
|
|
|
|
2021-01-31 20:35:47 +11:00
|
|
|
./configure --prefix=/usr
|
2007-10-24 16:30:03 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2011-10-29 02:17:12 +11:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
rmdir $PKG/usr/share
|
2007-10-24 16:30:03 +10:00
|
|
|
}
|