summaryrefslogtreecommitdiff
path: root/package/libqmi/Makefile
blob: 8f041d2ae480683795d65afcf5fcbec1afa20762 (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
27
28
29
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libqmi
PKG_VERSION:=		1.12.4
PKG_RELEASE:=		1
PKG_HASH:=		5527342bc869400d2a9c3038d66ec8ef87980aefb6c7aae593a13ebfee686a15
PKG_DESCR:=		qmi modem protocol helper library
PKG_SECTION:=		libs/net
PKG_DEPENDS:=		glib
PKG_BUILDDEP:=		glib
PKG_URL:=		http://cgit.freedesktop.org/libqmi/
PKG_SITES:=		http://cgit.freedesktop.org/libqmi/snapshot/
PKG_OPTS:=		dev

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBQMI,libqmi,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

AUTOTOOL_STYLE:=	autogen

libqmi-install:
	$(INSTALL_DIR) $(IDIR_LIBQMI)/usr/{bin,lib}
	$(INSTALL_BIN) $(WRKINST)/usr/bin/qmi{-network,cli} \
		$(IDIR_LIBQMI)/usr/bin
	$(CP) $(WRKINST)/usr/lib/libqmi-glib.so* $(IDIR_LIBQMI)/usr/lib/

include $(ADK_TOPDIR)/mk/pkg-bottom.mk