blob: 962a5aae520a3b9f6372df5a70330a925765ff87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 169547 2012-10-23 12:23:23Z jgc $
# Maintainer: Jan de Groot <jan@archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=opal
pkgver=3.10.7
pkgrel=2
pkgdesc="Open Phone Abstraction Library"
arch=(i686 x86_64)
url="http://www.opalvoip.org"
license=('GPL')
depends=('ptlib' 'libtheora' 'x264' 'speex' 'gsm')
makedepends=('ffmpeg')
options=(!makeflags)
source=(http://downloads.sourceforge.net/sourceforge/opalvoip/$pkgname-$pkgver.tar.bz2
opal-ffmpeg.patch)
md5sums=('8686bb930668067eefadab115d2ee1c2'
'0f05c01dada644b37805667ba9e81aa5')
build() {
cd "${srcdir}/opal-${pkgver}"
patch -Np1 -i "${srcdir}/opal-ffmpeg.patch"
CXXFLAGS="$CXXFLAGS -fpermissive" \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd "${srcdir}/opal-${pkgver}"
make DESTDIR="${pkgdir}" install
chmod 644 "${pkgdir}/usr/lib/libopal_s.a"
}
|