-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
33 lines (30 loc) · 930 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Template file for 'libmbim'
pkgname=libmbim
version=1.26.4
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config"
makedepends="glib-devel libgudev-devel"
short_desc="MBIM modem protocol helper library"
maintainer="Orphaned <orphan@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=f688cec4c4586a17575f5e327448ce62f2000ef6a07c9e4589873d4a68568ad9
build_options="gir"
build_options_default="gir"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
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
}
}