void-packages/srcpkgs/libqmi/template
2019-03-01 20:15:53 -03:00

25 lines
823 B
Bash

# Template file for 'libqmi'
pkgname=libqmi
version=1.22.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-mbim-qmux"
hostmakedepends="glib-devel pkg-config"
makedepends="libglib-devel libgudev-devel libmbim-devel"
short_desc="QMI modem protocol helper library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/wiki/Software/libqmi/"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f1f1e514a89b1dcba05cf7274895e7301a2da4c947b7c2f17acb84fc74038227
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
}
}