desktop/ptlib/PKGBUILD

42 lines
1.1 KiB
Bash
Raw Normal View History

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=ptlib
2015-10-02 22:36:21 +08:00
pkgver=2.14.4
2012-12-01 05:14:07 +08:00
_pkgver="Stable ${pkgver:5}"
2015-10-02 22:36:21 +08:00
_pkgver2="v3.14 Lacaille"
pkgrel=1
pkgdesc="Portable Windows Library."
2013-03-17 01:42:01 +08:00
arch=('x86_64')
url="http://www.opalvoip.org/"
license=('MPL')
depends=('alsa-lib' 'expat' 'gcc-libs' 'openssl' 'sdl' 'v4l-utils')
2014-05-21 01:08:04 +08:00
source=("http://sourceforge.net/projects/opalvoip/files/$_pkgver2/$_pkgver/$pkgname-$pkgver.tar.bz2")
2015-10-02 22:36:21 +08:00
sha512sums=('a41850b5b55dfc23f5deac21449ba22f3badf4cb85b647db56673b065ffee0d68acf4fc7eb902a085d9ed2d78386359522b60f1a02ddbb958e4f5a84972499dc')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--disable-avc \
--disable-odbc \
--enable-dc \
--enable-expat \
--enable-httpforms \
--enable-ipv6 \
--enable-opal \
--enable-oss \
--enable-plugins \
--enable-sdl \
--enable-v4l \
--enable-v4l2 \
--libdir=/usr/lib \
--localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}