summaryrefslogtreecommitdiff
path: root/package/libqmi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libqmi/Makefile')
-rw-r--r--package/libqmi/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/libqmi/Makefile b/package/libqmi/Makefile
index 236f4a102..8f041d2ae 100644
--- a/package/libqmi/Makefile
+++ b/package/libqmi/Makefile
@@ -7,24 +7,24 @@ PKG_NAME:= libqmi
PKG_VERSION:= 1.12.4
PKG_RELEASE:= 1
PKG_HASH:= 5527342bc869400d2a9c3038d66ec8ef87980aefb6c7aae593a13ebfee686a15
-PKG_DESCR:= QMI modem protocol helper library
+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,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBQMI,libqmi,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-pre-configure:
- (cd ${WRKDIST}; ./autogen.sh)
+AUTOTOOL_STYLE:= autogen
-post-install:
+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/
+ $(CP) $(WRKINST)/usr/lib/libqmi-glib.so* $(IDIR_LIBQMI)/usr/lib/
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk