summaryrefslogtreecommitdiff
path: root/testing/ptlib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
committerroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
commit120df4e0db159525806a9b33364483e76f9d51d3 (patch)
treeb78de64b601a46cc403d8663201bad6feb41c791 /testing/ptlib
parent3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff)
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'testing/ptlib')
-rw-r--r--testing/ptlib/PKGBUILD33
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
+}