aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmbim
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmbim')
-rw-r--r--community/libmbim/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libmbim/APKBUILD b/community/libmbim/APKBUILD
new file mode 100644
index 0000000000..313c0c6201
--- /dev/null
+++ b/community/libmbim/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=libmbim
+pkgver=1.12.4
+pkgrel=0
+pkgdesc="MBIM modem protocol helper library"
+url="http://www.freedesktop.org/wiki/Software/libmbim"
+arch="all"
+license="GPL2"
+makedepends="$depends_dev gtk-doc python glib-dev py-gobject libgudev-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ || return 1
+ make || return 1
+ make check || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="4561bc490fcd439aa805c1692b25cb61 libmbim-1.12.4.tar.xz"
+sha256sums="7bd9af154e88ee1cccaf2fedd05e0f5cb82e3359ab6ad2a75cfec98bf57f973a libmbim-1.12.4.tar.xz"
+sha512sums="74b0290eba3c83c13d1a8a07c1eaa979eae79cfadccd1b7acef0729c9d4c90e721dee9503a7cf69dd9c13a11c4a876716000cf78c22017d7e2d4e2b7906a3fbf libmbim-1.12.4.tar.xz"