summaryrefslogtreecommitdiff
path: root/extra/ptlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ptlib/PKGBUILD')
-rw-r--r--extra/ptlib/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD
new file mode 100644
index 000000000..863d7c4d2
--- /dev/null
+++ b/extra/ptlib/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 111692 2011-02-28 18:24:37Z heftig $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=ptlib
+pkgver=2.8.3
+pkgrel=1
+pkgdesc="Portable Windows Library"
+arch=(i686 x86_64 'mips64el')
+url="http://www.ekiga.org/"
+license=('GPL')
+depends=('gcc-libs' 'openssl' 'alsa-lib' 'sdl' 'expat' 'libpulse' 'v4l-utils')
+replaces=('pwlib')
+conflicts=('pwlib')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('076afde4e53e5fd0989adc344c3741aea8342b105c3e879e2f4f9a42ef36793e')
+
+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
+}