2013-07-20 05:31:33 +02:00
|
|
|
# Template file for 'libmbim'
|
|
|
|
pkgname=libmbim
|
|
|
|
version=1.4.0
|
2014-06-22 08:11:36 +02:00
|
|
|
revision=2
|
2013-07-20 05:31:33 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2014-02-19 10:07:45 +01:00
|
|
|
hostmakedepends="pkg-config python glib-devel"
|
2013-07-20 05:31:33 +02:00
|
|
|
makedepends="glib-devel libgudev-devel"
|
|
|
|
short_desc="MBIM modem protocol helper library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/libmbim/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
|
|
|
checksum=a7fa909df229574eb11baac89075ac1366a2ac1670f586483bdf0173257cf781
|
|
|
|
|
2014-02-19 10:07:45 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,-Werror,,g' -i configure
|
|
|
|
}
|
|
|
|
|
2013-07-20 05:31:33 +02:00
|
|
|
libmbim-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|