void-packages/srcpkgs/libcdio-paranoia/template

30 lines
848 B
Bash

# Template file for 'libcdio-paranoia'
pkgname=libcdio-paranoia
version=10.2+2.0.0
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="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=4565c18caf401083c53733e6d2847b6671ba824cff1c7792b9039693d34713c1
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"
}
}