void-packages/srcpkgs/cdparanoia/template
2013-05-26 10:49:29 +02:00

48 lines
1.3 KiB
Text

# Template file for 'cdparanoia'.
pkgname=cdparanoia
version=10.2
revision=5
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="pancake <pancake@nopcode.org>"
distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz"
checksum=005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df
long_desc="
Cdparanoia retrieves audio tracks from CDDA capable CDROM drives.
The data can be saved to a file or directed to standard output
in WAV, AIFF, AIFF-C or raw format. Most ATAPI, SCSI and several
proprietary CDROM drive makes are supported; cdparanoia can
determine if the target drive is CDDA capable.
In addition to simple reading, cdparanoia adds extra-robust
data verification, synchronization, error handling and scratch
reconstruction capability."
CFLAGS="-fPIC"
pre_configure() {
autoreconf -i
}
do_install() {
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
}
cdparanoia-devel_package() {
depends="cdparanoia>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
cdparanoia_package() {
pkg_install() {
vmove usr
}
}