summaryrefslogtreecommitdiff
path: root/user/libmbim
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 02:42:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 02:42:18 +0000
commit60a6ee6c0d74ec1b601ca9d625eab867d223c33d (patch)
tree5d82f291aca12560a8d9fb348e94764cdb4b9979 /user/libmbim
parent0c7f4376ad34df6bca1a17c65b9e81713edfe630 (diff)
downloadpackages-60a6ee6c0d74ec1b601ca9d625eab867d223c33d.tar.gz
packages-60a6ee6c0d74ec1b601ca9d625eab867d223c33d.tar.bz2
packages-60a6ee6c0d74ec1b601ca9d625eab867d223c33d.tar.xz
packages-60a6ee6c0d74ec1b601ca9d625eab867d223c33d.zip
user/libmbim: new package
Diffstat (limited to 'user/libmbim')
-rw-r--r--user/libmbim/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libmbim/APKBUILD b/user/libmbim/APKBUILD
new file mode 100644
index 000000000..8c7142fe8
--- /dev/null
+++ b/user/libmbim/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libmbim
+pkgver=1.18.2
+pkgrel=0
+pkgdesc="Library for interfacing with WWAN modems"
+url="https://www.freedesktop.org/wiki/Software/libmbim/"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+"
+depends=""
+makedepends="glib-dev libgudev-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.freedesktop.org/software/libmbim/libmbim-$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="2da289f60d2fb9678f969b591f8addc724bef8c2780011e62567a9ade2ebc71bc4dd76e54f93335aa475e65c733e3628d9f2f96f81f8797ec809042c046eb828 libmbim-1.18.2.tar.xz"