kumquat-buildroot/package/libfreefare/libfreefare.mk
Fabrice Fontaine c49482604e package/libfreefare: fix static build with latomic
Use pkg-config to retrieve openssl dependencies such as lz or latomic

Fixes:
 - http://autobuild.buildroot.org/results/9bf69f238a63ea28690f7c0dbb8c30feb0afc5ad

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-04-13 15:57:04 +02:00

18 lines
754 B
Makefile

################################################################################
#
# libfreefare
#
################################################################################
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)
LIBFREEFARE_DEPENDENCIES = host-pkgconf libnfc openssl
LIBFREEFARE_LICENSE = LGPL-3.0+ with exception
LIBFREEFARE_LICENSE_FILES = COPYING
LIBFREEFARE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
$(eval $(autotools-package))