libcdio: cross build support.

This commit is contained in:
Juan RP 2013-05-26 16:46:36 +02:00
parent e04d241472
commit dc217e69c0
1 changed files with 9 additions and 2 deletions

View File

@ -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