void-packages/srcpkgs/libqmi/template
2014-10-04 09:30:18 +02:00

29 lines
800 B
Text

# Template file for 'libqmi'
pkgname=libqmi
version=1.10.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config python glib-devel"
makedepends="libglib-devel"
short_desc="QMI modem protocol helper library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/libqmi/"
license="GPL-2"
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=0d70b10810e45aebb4af902db59972d756441ca1e301240c5c529ef0f08bf80f
pre_configure() {
sed -e 's,-Werror,,g' -i configure
}
libqmi-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
}
}