# Maintainer: Adrián Chaves Fernández (Gallaecio) pkgname=ptlib pkgver=2.12.9 _pkgver="Stable ${pkgver:5}" _pkgver2="v3.12 Eridani" 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') source=("http://sourceforge.net/projects/opalvoip/files/$_pkgver2/$_pkgver/$pkgname-$pkgver.tar.bz2") md5sums=('2d2f596ab7602288013a70c78ecc45b1') 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 } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }