summaryrefslogblamecommitdiff
path: root/user/libqmi/APKBUILD
blob: f662aa30d7ac4d69fc29bdd522756f6c7a2d2983 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                  
             







                                                       
                                                                          




















                                         
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libqmi
pkgver=1.24.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="7850c2754763d3d0addfa6760ed11ba895dd78421a6b3453224b50bd97d09109ccacf16c322d81c8e512321e45fd8e611015796c86a94f30acf8611eb37e8a1a  libqmi-1.24.4.tar.xz"