2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-08 05:37:25 +02:00
|
|
|
#
|
|
|
|
# libfreefare
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-07-26 22:38:31 +02:00
|
|
|
LIBFREEFARE_VERSION = 0.4.0
|
|
|
|
LIBFREEFARE_SOURCE = libfreefare-$(LIBFREEFARE_VERSION).tar.bz2
|
|
|
|
# Do not use the github helper here, the generated tarball is *NOT*
|
|
|
|
# the same as the one uploaded by upstream for the release.
|
|
|
|
LIBFREEFARE_SITE = https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-$(LIBFREEFARE_VERSION)
|
2012-06-17 01:07:40 +02:00
|
|
|
LIBFREEFARE_DEPENDENCIES = libnfc openssl
|
2014-06-24 23:59:06 +02:00
|
|
|
LIBFREEFARE_LICENSE = LGPLv3+ with exception
|
|
|
|
LIBFREEFARE_LICENSE_FILES = COPYING
|
2012-06-08 05:37:25 +02:00
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-01-09 11:23:56 +01:00
|
|
|
# openssl needs zlib even if the libfreefare example itself doesn't
|
|
|
|
LIBFREEFARE_CONF_ENV += LIBS='-lz'
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|