summaryrefslogblamecommitdiff
path: root/user/libmbim/APKBUILD
blob: 360392390da7ab3be0fa521962ef86b16feba1bc (plain) (tree)
1
2
3
4


                                                  
             





























                                                                            
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libmbim
pkgver=1.22.0
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="ec7ecf1c65dd7b6017cc3e91eadd6700a954065d070640ab97e583b1791cc315133dd6c882f569fff2efe1f56e3766821533c20d814fe7db75aeb0bbcd7ed3ee  libmbim-1.22.0.tar.xz"