blob: 3b24e355cee10c05b4ab921695f3d3006c0b59ab (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=libqmi
pkgver=1.30.4
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 libqrtr-glib-dev
linux-headers python3"
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-bash-completion
${pkgname#lib}-utils
"
source="https://www.freedesktop.org/software/libqmi/libqmi-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-mbim-qmux \
--enable-qrtr \
--enable-gtk-doc
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
utils() {
pkgdesc="$pkgdesc (CLI utilities)"
amove 'usr/bin'
}
sha512sums="
969c3e3fc8086c38e9192070eca155f5309947cdd1cfc9b883c27d80c6af2d069098a59e193bf1786260ab4fe4d05375555b5081dd173a88b33d84d409fa4a59 libqmi-1.30.4.tar.xz
"
|