vp-build/srcpkgs/cdparanoia/template
2014-04-05 01:00:11 +02:00

34 lines
843 B
Plaintext

# Template file for 'cdparanoia'.
pkgname=cdparanoia
version=10.2
revision=7
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/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz"
checksum=005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df
CFLAGS="-fPIC"
pre_configure() {
autoreconf -i
}
do_install() {
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
}
cdparanoia-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}