aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmbim/APKBUILD
blob: 313c0c6201ddd669492001e74cff471bec3cd14a (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
# 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"