# Description: Blu-Ray access library.
# URL: http://www.videolan.org/developers/libbluray.html
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: fontconfig libxml2
# Optional: ant

name=libbluray
version=1.3.4
release=1
source=(ftp://ftp.videolan.org/pub/videolan/$name/$version/$name-$version.tar.bz2)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		$([ -e /usr/bin/ant ] || echo --disable-bdjava-jar)

	make
	make DESTDIR=$PKG install
}
