# Note: depends on pkg-config
# Note: depends on glib
wget -c https://www.freedesktop.org/software/libqmi/libqmi-1.20.2.tar.xz
tar -xJf libqmi-1.20.2.tar.xz
cd libqmi-1.20.2
mkdir -p build
cd build
../configure --prefix="/usr"  ||  ../configure --prefix="/usr" --without-udev
make # Doesn't mind -j#
make install