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
7 PKG_VERSION
:= fbad2fb842f2b4e7cfd5bc82136a9381402c07ce
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
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
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