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
|
2013-12-22 01:31:36 +08:00
|
|
|
pkgver=3.12.8
|
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')
|
2013-12-22 01:31:36 +08:00
|
|
|
makedepends=('ffmpeg-compat')
|
|
|
|
source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2)
|
|
|
|
md5sums=('db928c30ae0de43b6063a17dc6fe5106')
|
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
|
|
|
|
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
|
|
|
}
|