1 # Contributor: Sam Mulvey <sam@tacomatelematics.com>
2 # Contributor: Jonathan Liu <net147@hotmail.com>
3 pkgname=libresample-asterisk
7 _svntrunk="http://svn.asterisk.org/svn/thirdparty/libresample/trunk"
10 pkgdesc="A real-time library for audio sampling rate conversion, from the Asterisk SVN repository."
12 url="http://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html"
15 makedepends=('subversion')
16 conflicts=('libresample')
17 provides=('libresample')
21 mkdir -p ~/.subversion
22 svn co $_svntrunk $_svnmod
25 ./configure --prefix=/usr
26 make libresample.a || return 1
27 install -D -m644 "$srcdir/$_svnmod/include/libresample.h" "$pkgdir/usr/include/libresample.h"
28 install -D -m644 "$srcdir/$_svnmod/libresample.a" "$pkgdir/usr/lib/libresample.a"
31 # vim:set ts=2 sw=2 et: