# Template file for 'libcdio-paranoia'
pkgname=libcdio-paranoia
version="10.2+0.94+2"
revision=2
build_style=gnu-configure
configure_args="--enable-cpp-progs --disable-example-progs"
hostmakedepends="automake libtool pkg-config"
makedepends="libcdio-devel"
short_desc="CD paranoia utility/libraries from libcdio"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/libcdio/"
distfiles="${GNU_SITE}/libcdio/$pkgname-$version.tar.gz"
checksum=d60f82ece97eeb92407a9ee03f3499c8983206672c28ae5e4e22179063c81941

pre_configure() {
	autoreconf -fi
}

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