summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 04:30:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 04:30:05 +0000
commitd96a6dae6ec38872c7106bb0f4f52dfe0e4b9dc9 (patch)
tree53bc568e1896698f9a047911b76c033371549fe2 /user
parent60a6ee6c0d74ec1b601ca9d625eab867d223c33d (diff)
downloadpackages-d96a6dae6ec38872c7106bb0f4f52dfe0e4b9dc9.tar.gz
packages-d96a6dae6ec38872c7106bb0f4f52dfe0e4b9dc9.tar.bz2
packages-d96a6dae6ec38872c7106bb0f4f52dfe0e4b9dc9.tar.xz
packages-d96a6dae6ec38872c7106bb0f4f52dfe0e4b9dc9.zip
user/libqmi: new package
Diffstat (limited to 'user')
-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"