summaryrefslogtreecommitdiff
path: root/extra/opal/PKGBUILD
blob: 2b7321e6c3462b3842ffafcf323df45c3c67cbea (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
# $Id: PKGBUILD 111695 2011-02-28 18:26:03Z heftig $
# Maintainer: Jan de Groot <jan@archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=opal
pkgver=3.8.3
pkgrel=1
pkgdesc="Open Phone Abstraction Library"
arch=(i686 x86_64 'mips64el')
url="http://www.ekiga.org"
license=('GPL')
depends=('ptlib' 'libtheora' 'x264' 'speex')
makedepends=('ffmpeg')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('d775626d786028357a8535fb2ff8f04bce9c1bff51db0e962f0939c2b988767f')

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

package() {
  cd "${srcdir}/opal-${pkgver}"
  make DESTDIR="${pkgdir}" install
}