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