PKGBUILDs/extra/ptlib/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
941 B
Bash

# $Id: PKGBUILD 46643 2009-07-19 13:06:41Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=ptlib
pkgver=2.6.4
pkgrel=1
pkgdesc="Portable Windows Library"
arch=(i686 x86_64)
url="http://www.ekiga.org/"
license=('GPL')
depends=('gcc-libs>=4.4.0' 'openssl>=0.9.8k' 'alsa-lib>=1.0.19' 'sdl>=1.2.13' 'libv4l>=0.5.8' 'expat>=2.0.1')
replaces=('pwlib')
conflicts=('pwlib')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
md5sums=('bcc8e2d5bb6be7e3fea857ce2f7fce5c')
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 || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}