2009-05-15 16:15:48 +02:00
|
|
|
# Template file for 'cdparanoia'.
|
|
|
|
pkgname=cdparanoia
|
|
|
|
version=10.2
|
2015-01-11 15:35:09 +01:00
|
|
|
revision=10
|
2013-04-12 08:55:23 +02:00
|
|
|
wrksrc="${pkgname}-III-${version}"
|
2013-05-26 10:41:55 +02:00
|
|
|
hostmakedepends="libtool automake"
|
|
|
|
build_style=gnu-configure
|
2009-05-15 16:15:48 +02:00
|
|
|
short_desc="CDDA reading utility with extra data verification features"
|
2013-03-29 13:46:49 +01:00
|
|
|
homepage="https://www.xiph.org/paranoia/"
|
|
|
|
license="GPL-2"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-04-12 08:55:23 +02:00
|
|
|
distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz"
|
2009-05-15 16:15:48 +02:00
|
|
|
checksum=005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df
|
|
|
|
|
2013-05-26 10:49:29 +02:00
|
|
|
CFLAGS="-fPIC"
|
2014-11-23 11:36:43 +01:00
|
|
|
disable_parallel_build=yes
|
2013-05-26 10:49:29 +02:00
|
|
|
|
2013-03-29 13:46:49 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -i
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
do_install() {
|
2014-11-23 11:36:43 +01:00
|
|
|
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man LIBDIR=${DESTDIR}/usr/lib install
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
|
2015-01-11 15:35:09 +01:00
|
|
|
libcdparanoia_package() {
|
|
|
|
replaces="${sourcepkg}<10.2_10"
|
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcdparanoia-devel_package() {
|
|
|
|
replaces="${sourcepkg}-devel<10.2_10"
|
|
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
2013-05-26 10:41:55 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-18 15:45:00 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|