void-packages/srcpkgs/libqmi/template

26 lines
790 B
Bash

# Template file for 'libqmi'
pkgname=libqmi
version=1.20.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config python glib-devel"
makedepends="libglib-devel libgudev-devel"
short_desc="QMI modem protocol helper library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.freedesktop.org/wiki/Software/libqmi/"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
distfiles="${FREEDESKTOP_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=21428cd3749c56246565123f707fee51238651a22c60bdc85ebce97388626eb4
libqmi-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share
}
}