updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / libresample-asterisk / PKGBUILD
blobd162b9e67044772660d699366d1b241a1249e0a5
1 # Contributor: Sam Mulvey <sam@tacomatelematics.com>
2 # Contributor: Jonathan Liu <net147@hotmail.com>
3 pkgname=libresample-asterisk
4 pkgver=122
5 pkgrel=1
7 _svntrunk="http://svn.asterisk.org/svn/thirdparty/libresample/trunk"
8 _svnmod="libresample"
10 pkgdesc="A real-time library for audio sampling rate conversion, from the Asterisk SVN repository."
11 arch=(i686 x86_64)
12 url="http://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html"
13 license=('LGPL2')
14 source=()
15 makedepends=('subversion')
16 conflicts=('libresample')
17 provides=('libresample')
19 build() {
20   cd "$srcdir"
21   mkdir -p ~/.subversion
22   svn co $_svntrunk $_svnmod
23   cd $_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: