void-packages/srcpkgs/libmbim/template
2014-10-04 09:28:39 +02:00

30 lines
817 B
Plaintext

# Template file for 'libmbim'
pkgname=libmbim
version=1.10.0
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=4e5eade46a61d0cd1f8b6ad47bee938868766eca617a64e7acd2d0b72ff38b6e
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
}
}