void-packages/srcpkgs/cdparanoia/template

36 lines
956 B
Text
Raw Normal View History

# Template file for 'cdparanoia'.
pkgname=cdparanoia
version=10.2
revision=9
wrksrc="${pkgname}-III-${version}"
hostmakedepends="libtool automake"
build_style=gnu-configure
short_desc="CDDA reading utility with extra data verification features"
homepage="https://www.xiph.org/paranoia/"
update_pkgname="cdparanoia-III"
update_ignore="alpha* *pre*"
license="GPL-2"
2014-02-18 14:45:00 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz"
checksum=005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df
2013-05-26 08:49:29 +00:00
CFLAGS="-fPIC"
disable_parallel_build=yes
2013-05-26 08:49:29 +00:00
pre_configure() {
autoreconf -i
}
do_install() {
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man LIBDIR=${DESTDIR}/usr/lib install
}
cdparanoia-devel_package() {
2014-02-18 14:45:00 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2014-02-18 14:45:00 +00:00
vmove "usr/lib/*.so"
}
}