updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libresample / PKGBUILD
blobd0610b0895b8c51f55e9cdb046a4a3e25d5e0beb
1 # Contributor: Jonathan Liu <net147@gmail.com>
2 pkgname=libresample
3 pkgver=0.1.3
4 pkgrel=2
5 pkgdesc="A real-time library for audio sampling rate conversion"
6 arch=('i686' 'x86_64')
7 url="http://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html"
8 license=('LGPL2')
9 source=("http://ccrma.stanford.edu/~jos/gz/$pkgname-$pkgver.tgz"
10         "Makefile.in.patch")
11 md5sums=('99bc5ea15ef76b83e5655a10968f674b'
12          '9c18aec34f5e16baac888bd0926270e7')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   patch -Np1 -i "$srcdir/Makefile.in.patch" || return 1
18   ./configure --prefix=/usr
19   make libresample.a || return 1
20   install -D -m644 include/libresample.h "$pkgdir/usr/include/libresample.h"
21   install -D -m644 libresample.a "$pkgdir/usr/lib/libresample.a"
24 # vim:set ts=2 sw=2 et: