void-packages/srcpkgs/libmbim/template

26 lines
767 B
Bash

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