c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
755 B
Makefile
28 lines
755 B
Makefile
################################################################################
|
|
#
|
|
# libnfc
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFC_VERSION = 7b7f5061427b5456835dd48923a8cc0563cfd1e9
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/git
|
|
LIBNFC_SITE_METHOD = git
|
|
LIBNFC_LICENSE = LGPLv3+
|
|
LIBNFC_LICENSE_FILES = COPYING
|
|
LIBNFC_AUTORECONF = YES
|
|
LIBNFC_INSTALL_STAGING = YES
|
|
|
|
LIBNFC_DEPENDENCIES = host-pkgconf libusb libusb-compat
|
|
|
|
# N.B. The acr122 driver requires pcsc-lite.
|
|
LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
|
|
LIBNFC_CONF_OPT += --enable-example
|
|
LIBNFC_DEPENDENCIES += readline
|
|
else
|
|
LIBNFC_CONF_OPT += --disable-example
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|