Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 1 | ################################################################################ |
Simon Dawson | 2b35574 | 2012-05-02 01:40:02 +0000 | [diff] [blame] | 2 | # |
| 3 | # libnfc |
| 4 | # |
Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 5 | ################################################################################ |
Alexandre Belloni | 7027040 | 2013-06-05 23:53:25 +0000 | [diff] [blame] | 6 | |
Simon Dawson | 848e02b | 2014-01-08 13:37:56 +0000 | [diff] [blame] | 7 | LIBNFC_VERSION = 7b7f5061427b5456835dd48923a8cc0563cfd1e9 |
Simon Dawson | 75ed0f2 | 2012-11-13 02:56:31 +0000 | [diff] [blame] | 8 | LIBNFC_SITE = http://libnfc.googlecode.com/git/ |
| 9 | LIBNFC_SITE_METHOD = git |
Simon Dawson | 94d4623 | 2012-07-30 08:32:08 +0100 | [diff] [blame] | 10 | LIBNFC_LICENSE = LGPLv3+ |
| 11 | LIBNFC_LICENSE_FILES = COPYING |
Samuel Martin | 6855bd3 | 2012-06-10 09:43:43 +0000 | [diff] [blame] | 12 | LIBNFC_AUTORECONF = YES |
Simon Dawson | 2b35574 | 2012-05-02 01:40:02 +0000 | [diff] [blame] | 13 | LIBNFC_INSTALL_STAGING = YES |
| 14 | |
Gustavo Zacarias | 019a581 | 2012-10-22 15:47:52 +0000 | [diff] [blame] | 15 | LIBNFC_DEPENDENCIES = host-pkgconf libusb libusb-compat |
Simon Dawson | 2b35574 | 2012-05-02 01:40:02 +0000 | [diff] [blame] | 16 | |
| 17 | # N.B. The acr122 driver requires pcsc-lite. |
| 18 | LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb |
| 19 | |
Samuel Martin | 6855bd3 | 2012-06-10 09:43:43 +0000 | [diff] [blame] | 20 | ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y) |
| 21 | LIBNFC_CONF_OPT += --enable-example |
| 22 | LIBNFC_DEPENDENCIES += readline |
| 23 | else |
| 24 | LIBNFC_CONF_OPT += --disable-example |
| 25 | endif |
| 26 | |
Arnout Vandecappelle (Essensium/Mind) | e1502eb | 2012-07-03 00:07:32 +0200 | [diff] [blame] | 27 | $(eval $(autotools-package)) |