updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / pjproject / PKGBUILD
blobdc50ae44ae8ca1f8cb2be9411cd35f40c77cb03f
1 # Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
3 pkgname=pjproject
4 pkgver=1.8.10
5 pkgrel=1
6 pkgdesc="Open source SIP stack and media stack"
7 arch=('i686' 'x86_64')
8 url="http://www.pjsip.org/"
9 license=('GPL')
10 depends=()
11 makedepends=('alsa-lib' 'e2fsprogs' 'python')
12 install=pjproject.install
13 source=(http://www.pjsip.org/release/${pkgver}/pjproject-${pkgver}.tar.bz2
14         python2.patch)
15 md5sums=('c72db8c4794e8d236f8ec0f9b847ec19'
16         '2c41dca3a6299e708d266adf57b1f6e0')
18 build() {
19   cd ${srcdir}/pjproject-${pkgver}
21   patch -p1 -i ${srcdir}/python2.patch
23   ./configure --prefix=/usr --disable-debug --enable-ssl CFLAGS="-fPIC"
24   make dep 
25   make 
27   cd pjsip-apps/src/python/
28   make
30   rm -rf $pkgdir/usr/include/{portaudio.h,speex}
33 package() {
34   cd $srcdir/pjproject-${pkgver}
35   make prefix=/usr DESTDIR="${pkgdir}" install
38 # vim:set ts=2 sw=2 et: