2011-08-26 09:04:01 +08:00
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
2011-06-16 04:04:27 +08:00
|
|
|
|
|
|
|
pkgname=opal
|
2014-05-21 01:14:56 +08:00
|
|
|
pkgver=3.12.9
|
2011-06-16 04:04:27 +08:00
|
|
|
pkgrel=1
|
2012-12-01 05:14:07 +08:00
|
|
|
pkgdesc="Open Phone Abstraction Library"
|
|
|
|
arch=('x86_64')
|
2011-06-16 04:04:27 +08:00
|
|
|
url="http://www.opalvoip.org/"
|
|
|
|
license=('MPL')
|
2012-12-01 05:14:07 +08:00
|
|
|
depends=('gsm' 'libtheora' 'ptlib' 'silc-toolkit' 'speex' 'x264')
|
2014-05-21 01:14:56 +08:00
|
|
|
makedepends=('ffmpeg')
|
2013-12-22 01:31:36 +08:00
|
|
|
source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2)
|
2014-05-21 01:14:56 +08:00
|
|
|
md5sums=('fccfc4d7491ce1a3be04aee10ac38241')
|
2011-06-16 04:04:27 +08:00
|
|
|
|
|
|
|
build() {
|
2011-10-31 03:00:13 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2012-06-02 22:39:11 +08:00
|
|
|
|
2014-05-21 01:14:56 +08:00
|
|
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
|
|
|
export LD_LIBRARY_PATH=/usr/lib
|
|
|
|
export PTLIBPLUGINDIR=/usr/lib/ptlib-3.12.9:/usr/lib/opal-3.12.9
|
|
|
|
|
2012-12-01 05:14:07 +08:00
|
|
|
CXXFLAGS="$CXXFLAGS -fpermissive" \
|
2011-06-16 04:04:27 +08:00
|
|
|
./configure \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-10-31 03:00:13 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-06-16 04:04:27 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2012-12-01 05:14:07 +08:00
|
|
|
chmod 644 "${pkgdir}/usr/lib/libopal_s.a"
|
2011-06-16 04:04:27 +08:00
|
|
|
}
|