blob: 2ff6b231ea9a45646a46cb66cec62bf2b90cc346 (
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
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 196964 2013-10-21 11:48:01Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=ptlib
pkgver=2.10.11
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://downloads.sourceforge.net/opalvoip/ptlib-$pkgver.tar.bz2
ptlib-2.10.10-bison_fixes-1.patch)
sha256sums=('27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a'
'11027b21f568b2ab84f9c25775e5a697a15304b39aaab6380922ed609aac63b9')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../ptlib-2.10.10-bison_fixes-1.patch
}
build() {
cd $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 $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
|