aboutsummaryrefslogtreecommitdiffstats
path: root/community/libqmi/APKBUILD
blob: 613ba8bdef53ac67b5a782cc4cb27d121baa9504 (plain) (blame)
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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=libqmi
pkgver=1.22.6
pkgrel=0
pkgdesc="QMI modem protocol helper library"
url="https://www.freedesktop.org/wiki/Software/libqmi"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="glib-dev gtk-doc libgudev-dev libmbim-dev linux-headers python3"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.freedesktop.org/software/libqmi/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-mbim-qmux \
		--enable-more-warnings=yes
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7c9b81f050b132687e7ec91ee25103730a65c91951766eddd4ed3680cb2971ba6ad7278ec952280f8f8e86d58d6a5e0bdbd727df84c29ccab8ac3eaee34b0fe1  libqmi-1.22.6.tar.xz"