PKGBUILDs/extra/opal/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
804 B
Bash

# $Id: PKGBUILD 46650 2009-07-19 13:40:32Z jgc $
# Maintainer: Jan de Groot <jan@archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=opal
pkgver=3.6.4
pkgrel=1
pkgdesc="Open Phone Abstraction Library"
arch=(i686 x86_64)
url="http://www.ekiga.org"
license=('GPL')
depends=('ptlib=2.6.4' 'libtheora' 'x264>=20090416' 'speex')
makedepends=('ffmpeg')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.6/${pkgname}-${pkgver}.tar.bz2
gcc-4.4.patch)
md5sums=('d894c176818a33d34a04b21386798c4f'
'8ca6eb81099815d0323105dd2603766c')
build() {
cd "${srcdir}/opal-${pkgver}"
patch -Np0 -i "${srcdir}/gcc-4.4.patch" || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}