libupnp: cross build support.

This commit is contained in:
Juan RP 2013-09-23 22:35:03 +02:00
parent e3102f9d4f
commit 19e424c958
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,13 @@ homepage="http://pupnp.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pupnp/$pkgname-$version.tar.bz2"
checksum=b21bc676365622d3ace1b25292dab8d4d23f6e6a80ddc8f029b765d39797e934
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool"
pre_configure() {
autoreconf -fi
}
fi
libupnp-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"