diff --git a/srcpkgs/libcdio/template b/srcpkgs/libcdio/template index 16939f3c25c..2db594be560 100644 --- a/srcpkgs/libcdio/template +++ b/srcpkgs/libcdio/template @@ -1,9 +1,9 @@ # Template file for 'libcdio' pkgname=libcdio version=0.83 -revision=4 +revision=5 build_style=gnu-configure -hostmakedepends="pkg-config" +hostmakedepends="automake libtool pkg-config" makedepends="ncurses-devel libcddb-devel" short_desc="CD-ROM access library" maintainer="Juan RP " @@ -11,29 +11,19 @@ license="GPL-3" homepage="http://www.gnu.org/software/libcdio/" distfiles="http://ftp.gnu.org/gnu/libcdio/$pkgname-$version.tar.gz" checksum=235017e3eccb86424f9c108f2c5d5fca62630bda8c9dcf23b425ba9c5e2482c0 -long_desc=" - This library is to encapsulate CD-ROM reading and - control. Applications wishing to be oblivious of the OS- and - device-dependent properties of a CD-ROM can use this library. - Some support for disk image types like BIN/CUE and NRG is available, - so applications that use this library also have the ability to read - disc images as though they were CDs." - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" automake libtool" - pre_configure() { - autoreconf -fi - } -fi +pre_configure() { + autoreconf -fi +} libcdio-devel_package() { - depends="libcddb-devel libcdio>=${version}" + depends="libcddb-devel libcdio>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/share } }