libmbim: cross build support.

This commit is contained in:
Juan RP 2014-02-19 10:07:45 +01:00
parent 1129a684aa
commit 21627a25f2
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ version=1.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config python"
hostmakedepends="pkg-config python glib-devel"
makedepends="glib-devel libgudev-devel"
short_desc="MBIM modem protocol helper library"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -13,6 +13,10 @@ license="GPL-2"
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=a7fa909df229574eb11baac89075ac1366a2ac1670f586483bdf0173257cf781
pre_configure() {
sed -e 's,-Werror,,g' -i configure
}
libmbim-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"