# Template file for 'libdvbpsi'
pkgname=libdvbpsi
version=1.1.2
revision=3
build_style=gnu-configure
short_desc="PSI decoder and generator library for MPEG2 and DVB streams"
homepage="http://www.videolan.org/developers/libdvbpsi.html"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://download.videolan.org/pub/libdvbpsi/${version}/${pkgname}-${version}.tar.bz2"
checksum=22436366beaa1bff27b3f6d80e43de1012b16d3b63b1e22d37d4a6fcb5db8933

CFLAGS="-Wno-error=cast-qual"

libdvbpsi-devel_package() {
	depends="libdvbpsi>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}