blob: 1831c7a2c43532770b35098ba5d4f8a1016bd327 (
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
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=libqmi
pkgver=1.24.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/libqmi-$pkgver.tar.xz"
# Tests fail
[ "$CARCH" = s390x ] && options="$options !check"
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="6c7ba27da94090978d709a30c4ab02479295dbcc2690a6a5157be7d90ee4bc9126c90aaa5f395f9fe44aafd475fd4979066a85e205a19647f36f784829388cdd libqmi-1.24.6.tar.xz"
|