diff --git a/srcpkgs/libcdio/template b/srcpkgs/libcdio/template index 2565fbeb473..3645dc95595 100644 --- a/srcpkgs/libcdio/template +++ b/srcpkgs/libcdio/template @@ -1,8 +1,8 @@ # Template file for 'libcdio' pkgname=libcdio version=0.83 +revision=4 build_style=gnu-configure -revision=3 hostmakedepends="pkg-config" makedepends="ncurses-devel libcddb-devel" short_desc="CD-ROM access library" @@ -20,9 +20,16 @@ long_desc=" 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 + libcdio-devel_package() { depends="libcddb-devel libcdio>=${version}" - short_desc+=" -- development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig