wok-next view libqmi/receipt @ rev 21126
Hide more packages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 02:36:44 2019 +0200 (2019-01-18) |
parents | d5aab818505e |
children | 501a3c39f91b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libqmi"
4 VERSION="1.20.0"
5 CATEGORY="network"
6 SHORT_DESC="Qualcomm MSM Interface (QMI) protocol implementation"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/libqmi/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libqmi.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/libqmi/$TARBALL"
15 COOKOPTS="force-arch" # different .h
17 BUILD_DEPENDS="glib-dev libgudev-dev libmbim-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libqmi)
32 copy @std
33 DEPENDS="glib libgudev libmbim"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libqmi glib-dev"
38 ;;
39 esac
40 }