void-packages/srcpkgs/cdparanoia/template

54 lines
1.3 KiB
Plaintext
Raw Normal View History

# Template file for 'cdparanoia'.
pkgname=cdparanoia
version=10.2
revision=4
wrksrc="${pkgname}-III-${version}"
makedepends="libtool automake"
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."
pre_configure() {
autoreconf -i
}
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS}
}
do_build() {
make
}
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
}
}