desktop/opal/PKGBUILD

31 lines
731 B
Bash
Raw Normal View History

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=opal
2013-12-22 01:31:36 +08:00
pkgver=3.12.8
pkgrel=1
2012-12-01 05:14:07 +08:00
pkgdesc="Open Phone Abstraction Library"
arch=('x86_64')
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')
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" \
./configure \
--localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
2011-10-31 03:00:13 +08:00
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
2012-12-01 05:14:07 +08:00
chmod 644 "${pkgdir}/usr/lib/libopal_s.a"
}