# Template file for 'libburn'
pkgname=libburn
version=1.4.2.pl01
revision=1
wrksrc="${pkgname}-${version/.pl*/}"
build_style=gnu-configure
short_desc="Library for reading, mastering and writing optical discs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.libburnia-project.org"
distfiles="http://files.libburnia-project.org/releases/$pkgname-${version}.tar.gz"
checksum=33cfcd7f5deb3c6f325ca9eaef36c59b4fcb384bfcddaaa16d9a89da88a80edb

cdrskin_package() {
	short_desc="Command line CD/DVD/BD writing tool"
	pkg_install() {
		vmove usr/bin
		vmove usr/share
	}
}
libburn-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/lib/*.a
	}
}
