ltp: update to latest
[openadk.git] / package / libnfc-nci / Makefile
blob92bdb6d3a082e982e7cef646182ef3832b802ef5
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libnfc-nci
7 PKG_VERSION:= fbad2fb842f2b4e7cfd5bc82136a9381402c07ce
8 PKG_RELEASE:= 1
9 PKG_GIT:= hash
10 PKG_DESCR:= nfc nci library
11 PKG_SECTION:= libs/net
12 PKG_NEEDS:= threads c++
13 PKG_URL:= https://github.com/NXPNFCLinux/linux_libnfc-nci
14 PKG_SITES:= https://github.com/NXPNFCLinux/linux_libnfc-nci.git
15 PKG_OPTS:= dev
17 PKG_LIBC_DEPENDS:= glibc uclibc-ng
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,LIBNFC_NCI,libnfc-nci,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
23 AUTOTOOL_STYLE:= bootstrap
25 libnfc-nci-install:
26 $(INSTALL_DIR) $(IDIR_LIBNFC_NCI)/etc
27 $(INSTALL_DIR) $(IDIR_LIBNFC_NCI)/usr/lib
28 $(INSTALL_DIR) $(IDIR_LIBNFC_NCI)/usr/sbin
29 $(CP) $(WRKINST)/usr/lib/libnfc*.so* \
30 $(IDIR_LIBNFC_NCI)/usr/lib
31 $(CP) $(WRKINST)/usr/sbin/nfcDemoApp \
32 $(IDIR_LIBNFC_NCI)/usr/sbin
33 $(CP) $(WRKINST)/etc/libnfc* \
34 $(IDIR_LIBNFC_NCI)/etc
36 include $(ADK_TOPDIR)/mk/pkg-bottom.mk