void-packages/srcpkgs/libqmi/template

30 lines
800 B
Text
Raw Normal View History

2013-07-20 03:27:37 +00:00
# Template file for 'libqmi'
pkgname=libqmi
2014-11-19 22:12:49 +00:00
version=1.10.4
2014-10-04 07:30:18 +00:00
revision=1
2013-07-20 03:27:37 +00:00
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"
2014-11-19 22:12:49 +00:00
checksum=84b4dba6b8105b0c9b0ce80c9da4fd2a5472bfe0311b4c01d65bb200ef773c5a
2013-07-20 03:27:37 +00:00
pre_configure() {
sed -e 's,-Werror,,g' -i configure
}
2013-07-20 03:27:37 +00:00
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
}
}