void-packages/srcpkgs/libqmi/template

26 lines
783 B
Bash

# Template file for 'libqmi'
pkgname=libqmi
version=1.20.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="glib-devel pkg-config"
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=c73459ca8bfe1213f8047858d4946fc1f58e164d4f488a7a6904edee25e2ca44
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
}
}