pkgname=ptlib pkgver=2.16.1 _pkgver="Stable ${pkgver:5}" _pkgver2="V3.16 Procyon" pkgrel=1 pkgdesc="Portable Windows Library." arch=('x86_64') url="http://www.opalvoip.org/" license=('MPL') depends=('alsa-lib' 'expat' 'gcc-libs' 'openssl' 'sdl' 'v4l-utils' 'libsasl') source=("http://sourceforge.net/projects/opalvoip/files/$_pkgver2/$_pkgver/$pkgname-$pkgver.tar.bz2") sha512sums=('93469772cf5cdd1221c9ddb9affea0939d78791f39876e76d739fa91bc6db95cf841022211eadf91ff0f22435b087c946f7dbc72bf82d8d7596f9eb648304843') build() { cd $srcdir/$pkgname-$pkgver ./configure \ --disable-avc \ --disable-odbc \ --enable-dc \ --enable-expat \ --enable-httpforms \ --enable-ipv6 \ --enable-opal \ --enable-oss \ --enable-plugins \ --enable-sdl \ --enable-v4l \ --enable-v4l2 \ --libdir=/usr/lib \ --localstatedir=/var \ --prefix=/usr \ --sysconfdir=/etc make -j1 } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }