kumquat-buildroot/package/jsmn/jsmn.mk
Fabrice Fontaine 56adf89841 package/jsmn: bump to version 1.1.0
- jsmn is a single-header, header-only library since version 1.1.0 and
  fdcef3ebf8
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-01-08 23:10:11 +01:00

20 lines
526 B
Makefile

################################################################################
#
# jsmn
#
################################################################################
JSMN_VERSION = 1.1.0
JSMN_SITE = $(call github,zserge,jsmn,v$(JSMN_VERSION))
JSMN_LICENSE = MIT
JSMN_LICENSE_FILES = LICENSE
# single-header, header-only library
JSMN_INSTALL_STAGING = YES
JSMN_INSTALL_TARGET = NO
define JSMN_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
endef
$(eval $(generic-package))