summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libqmi/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libqmi/APKBUILD b/user/libqmi/APKBUILD
new file mode 100644
index 000000000..f747cdd65
--- /dev/null
+++ b/user/libqmi/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libqmi
+pkgver=1.22.4
+pkgrel=0
+pkgdesc="Library for interfacing with Qualcomm modems"
+url="https://www.freedesktop.org/wiki/Software/libqmi/"
+arch="all"
+license="LGPL-2.0+"
+depends=""
+makedepends="glib-dev libgudev-dev python3"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.freedesktop.org/software/libqmi/libqmi-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-more-warnings
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="eaa17cb7a19c73db0e1c50c714dab73ad5f97d85de86b74135085ecf31d048b80f2476509139832327925eeca97bee24e18bab33d87e814fe9b7f190ee823a34 libqmi-1.22.4.tar.xz"