void-packages/srcpkgs/libmbim/template
2015-01-02 14:17:19 +00:00

29 lines
817 B
Text

# Template file for 'libmbim'
pkgname=libmbim
version=1.10.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config python glib-devel"
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=c0f6611c1ea726f8801bdf3316cf3fe31772391cd60945373c4c9d128655c7bc
pre_configure() {
sed -e 's,-Werror,,g' -i configure
}
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
}
}