# $Id: PKGBUILD 14016 2008-10-01 07:44:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gilles CHAUVIN <gcnweb@gmail.com>

pkgname=libdvbpsi
pkgver=0.1.6
pkgrel=3
pkgdesc="MPEG TS and DVB PSI tables library (needed by vlc for streaming)"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc')
options=('!libtool')
replaces=('libdvbpsi4' 'libdvbpsi5')
conflicts=('libdvbpsi4' 'libdvbpsi5')
url="http://developers.videolan.org/libdvbpsi/"
source=(http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-$pkgver.tar.bz2)
md5sums=('bd2d9861be3311e1e03c91cd9345f542')

build()
{
  cd $startdir/src/libdvbpsi5-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}