void-packages/srcpkgs/libcdio-paranoia/template

30 lines
848 B
Bash

# Template file for 'libcdio-paranoia'
pkgname=libcdio-paranoia
version=10.2+2.0.1
revision=1
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="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/libcdio/"
distfiles="${GNU_SITE}/libcdio/$pkgname-$version.tar.bz2"
checksum=33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a
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"
}
}