2017-01-03 12:01:44 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jsmn
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-01-08 22:44:38 +01:00
|
|
|
JSMN_VERSION = 1.1.0
|
|
|
|
JSMN_SITE = $(call github,zserge,jsmn,v$(JSMN_VERSION))
|
2017-01-03 12:01:44 +01:00
|
|
|
JSMN_LICENSE = MIT
|
|
|
|
JSMN_LICENSE_FILES = LICENSE
|
2020-01-08 22:44:38 +01:00
|
|
|
# single-header, header-only library
|
2017-01-03 12:01:44 +01:00
|
|
|
JSMN_INSTALL_STAGING = YES
|
|
|
|
JSMN_INSTALL_TARGET = NO
|
|
|
|
|
|
|
|
define JSMN_INSTALL_STAGING_CMDS
|
2016-12-19 22:08:21 +01:00
|
|
|
$(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
|
2017-01-03 12:01:44 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|