binutils: update to 2.43.1
[openadk.git] / package / libnfc / Makefile
blob25cadbf4fa9087c01bbf9daf317b5e18b6b10d12
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
7 PKG_VERSION:= 1.7.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 945e74d8e27683f9b8a6f6e529557b305d120df347a960a6a7ead6cb388f4072
10 PKG_DESCR:= nfc library and tools
11 PKG_SECTION:= libs/net
12 PKG_DEPENDS:= libusb libusb-compat
13 PKG_BUILDDEP:= libusb libusb-compat
14 PKG_NEEDS:= threads
15 PKG_URL:= http://nfc-tools.org
16 PKG_SITES:= https://bintray.com/artifact/download/nfc-tools/sources/
17 PKG_OPTS:= dev
19 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,LIBNFC,libnfc,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
25 libnfc-install:
26 $(INSTALL_DIR) $(IDIR_LIBNFC)/usr/lib
27 $(INSTALL_DIR) $(IDIR_LIBNFC)/usr/bin
28 $(CP) $(WRKINST)/usr/lib/libnfc*.so* \
29 $(IDIR_LIBNFC)/usr/lib
30 $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
31 $(IDIR_LIBNFC)/usr/bin
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk