summaryrefslogtreecommitdiff
path: root/repo/system/libqmi.xibuild
blob: 7439f1fdd6ebb0153c3258f76f974306dc85470e (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
#!/bin/sh

MAKEDEPS="make gtk-doc glib libgudev "
DEPS="musl libqrtr libmbim "

PKG_VER=1.30.4
SOURCE=https://www.freedesktop.org/software/libqmi/libqmi-$PKG_VER.tar.xz
DESC="QMI modem protocol helper library"

build () {
    ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-mbim-qmux \
		--enable-qrtr \
		--enable-gtk-doc
	make
}

package () {
    make DESTDIR=$PKG_DEST install 
}