summaryrefslogtreecommitdiff
path: root/extra/opal/PKGBUILD
blob: 78fbcbb53433ec75342a7e5da277b44f6efa0af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 81960 2010-06-07 12:39:19Z jgc $
# Maintainer: Jan de Groot <jan@archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=opal
pkgver=3.6.8
pkgrel=1
pkgdesc="Open Phone Abstraction Library"
arch=(i686 x86_64)
url="http://www.ekiga.org"
license=('GPL')
depends=('ptlib=2.6.7' 'libtheora>=1.1.1' 'x264>=20100524' 'speex>=1.2rc1')
makedepends=('ffmpeg')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.6/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('8cbfabb33e5c5563fdafacf1adde536c78638d6d020fae496a52e19e2be6a90c')

build() {
  cd "${srcdir}/opal-${pkgver}"
  CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}