blob: b2897cf999cce388895fd858b7033fbd450ecd06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 172101 2012-11-28 10:32:09Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=ptlib
pkgver=2.10.9
pkgrel=1
pkgdesc="Portable Windows Library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.opalvoip.org"
license=('GPL')
depends=('sdl' 'libpulse' 'v4l-utils' 'libldap')
replaces=('pwlib')
conflicts=('pwlib')
source=(http://ftp.gnome.org/pub/GNOME/sources/ptlib/${pkgver%.*}/ptlib-$pkgver.tar.xz)
sha256sums=('d948e326ce238880ce9b52f9f0cd76a4897618e17cc08a347e4a713f36a575fe')
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 \
--disable-dc --disable-odbc \
--enable-expat --enable-httpforms
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|