diff options
Diffstat (limited to 'testing/ptlib/PKGBUILD')
-rw-r--r-- | testing/ptlib/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/ptlib/PKGBUILD b/testing/ptlib/PKGBUILD new file mode 100644 index 000000000..ed26e6d29 --- /dev/null +++ b/testing/ptlib/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 169545 2012-10-23 11:47:51Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=ptlib +pkgver=2.10.7 +pkgrel=2 +pkgdesc="Portable Windows Library" +arch=('i686' 'x86_64') +url="http://www.opalvoip.org" +license=('GPL') +depends=('sdl' 'libpulse' 'v4l-utils' 'libldap') +replaces=('pwlib') +conflicts=('pwlib') +source=(http://downloads.sourceforge.net/sourceforge/opalvoip/$pkgname-$pkgver.tar.bz2) +md5sums=('7fb74a97743fcc5f33d0f97dec7bc878') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib \ + --sysconfdir=/etc --localstatedir=/var \ + --enable-opal --enable-plugins \ + --enable-oss --enable-v4l2 \ + --disable-avc --enable-sdl \ + --enable-ipv6 --enable-v4l \ + --enable-dc --disable-odbc \ + --enable-expat --enable-httpforms + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |