wok-next annotate libqmi/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
rev   line source
al@20679 1 # SliTaz package receipt v2.
al@20679 2
al@20679 3 PACKAGE="libqmi"
al@20679 4 VERSION="1.20.0"
al@20679 5 CATEGORY="network"
al@20679 6 SHORT_DESC="Qualcomm MSM Interface (QMI) protocol implementation"
al@20679 7 MAINTAINER="al.bobylev@gmail.com"
al@20679 8 LICENSE="GPL2 LGPL2.1"
al@20679 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libqmi/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libqmi.html"
al@20679 11
al@20679 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20679 13 WGET_URL="https://www.freedesktop.org/software/libqmi/$TARBALL"
al@20679 14
al@20679 15 BUILD_DEPENDS="glib-dev libgudev-dev libmbim-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20679 17
al@20679 18 compile_rules() {
al@20679 19 ./configure \
al@20679 20 --disable-static \
al@20679 21 $CONFIGURE_ARGS &&
al@20679 22 fix libtool &&
al@20679 23 make &&
al@20679 24 make install
al@20679 25 }
al@20679 26
al@20679 27 genpkg_rules() {
al@20679 28 case $PACKAGE in
al@20679 29 libqmi)
al@20679 30 copy @std
al@20679 31 DEPENDS="glib libgudev libmbim"
al@20679 32 ;;
al@20679 33 *-dev)
al@20679 34 copy @dev
al@20679 35 DEPENDS="libqmi glib-dev"
al@20679 36 ;;
al@20679 37 esac
al@20679 38 }