libnfc: new package

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Simon Dawson 2012-05-02 01:40:02 +00:00 committed by Peter Korsgaard
parent 0340b45da0
commit 2b35574bc0
3 changed files with 25 additions and 0 deletions

View File

@ -360,6 +360,7 @@ source "package/tslib/Config.in"
source "package/libftdi/Config.in"
source "package/libhid/Config.in"
source "package/libiqrf/Config.in"
source "package/libnfc/Config.in"
source "package/libusb/Config.in"
source "package/libusb-compat/Config.in"
source "package/libv4l/Config.in"

8
package/libnfc/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_LIBNFC
bool "libnfc"
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
Public platform independent Near Field Communication (NFC) library.
http://www.libnfc.org/

16
package/libnfc/libnfc.mk Normal file
View File

@ -0,0 +1,16 @@
#############################################################
#
# libnfc
#
#############################################################
LIBNFC_VERSION = 1.5.1
LIBNFC_SITE = http://libnfc.googlecode.com/files/
LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.gz
LIBNFC_INSTALL_STAGING = YES
LIBNFC_DEPENDENCIES = host-pkg-config libusb libusb-compat
# N.B. The acr122 driver requires pcsc-lite.
LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb
$(eval $(call AUTOTARGETS))