kumquat-buildroot/package/mfoc/mfoc.mk
Louis Aussedat 623e0fea6c package/mfoc: new package
Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
[yann.morin.1998@free.fr: fix leading spaces in Config.in]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-12-22 11:30:16 +01:00

23 lines
618 B
Makefile

################################################################################
#
# mfoc
#
################################################################################
MFOC_VERSION = 0.10.7
MFOC_SITE = $(call github,nfc-tools,mfoc,mfoc-$(MFOC_VERSION))
MFOC_LICENSE = GPL-2.0
MFOC_LICENSE_FILES = COPYING
MFOC_DEPENDENCIES = libnfc
# Fetching from github, we need to generate the configure script
MFOC_AUTORECONF = YES
MFOC_INSTALL_STAGING = YES
# Autoreconf requires an existing m4 directory
define MFOC_MKDIR_M4
mkdir -p $(@D)/m4
endef
MFOC_PRE_CONFIGURE_HOOKS += MFOC_MKDIR_M4
$(eval $(autotools-package))