2013-02-07 04:06:27 +00:00
|
|
|
# Contributor: Jonathan Liu <net147@gmail.com>
|
|
|
|
pkgname=libresample
|
|
|
|
pkgver=0.1.3
|
2014-05-01 00:31:02 +00:00
|
|
|
pkgrel=3
|
2013-02-07 04:06:27 +00:00
|
|
|
pkgdesc="A real-time library for audio sampling rate conversion"
|
2014-05-01 00:31:02 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2013-02-07 04:06:27 +00:00
|
|
|
url="http://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html"
|
|
|
|
license=('LGPL2')
|
2014-05-01 00:31:02 +00:00
|
|
|
options=('staticlibs')
|
2013-02-07 04:06:27 +00:00
|
|
|
source=("http://ccrma.stanford.edu/~jos/gz/$pkgname-$pkgver.tgz"
|
|
|
|
"Makefile.in.patch")
|
|
|
|
md5sums=('99bc5ea15ef76b83e5655a10968f674b'
|
|
|
|
'9c18aec34f5e16baac888bd0926270e7')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2014-05-01 00:31:02 +00:00
|
|
|
patch -Np1 -i "$srcdir/Makefile.in.patch"
|
2013-02-07 04:06:27 +00:00
|
|
|
./configure --prefix=/usr
|
2014-05-01 00:31:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make libresample.a
|
2013-02-07 04:06:27 +00:00
|
|
|
install -D -m644 include/libresample.h "$pkgdir/usr/include/libresample.h"
|
|
|
|
install -D -m644 libresample.a "$pkgdir/usr/lib/libresample.a"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|