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