From dc217e69c05b4aa780fb7a8c029f0998cd7cb70c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 26 May 2013 16:46:36 +0200 Subject: [PATCH] libcdio: cross build support. --- srcpkgs/libcdio/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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