# Locally computed
-sha256 e08993848b2abab62aa9572a560bb6e5ed4762f8537cd67c4de6cb17e17090a0 jsmn-6021415cc75e7922d45b12935f56348b064d8a7f.tar.gz
+sha256 5f0913a10657fe7ec8d5794ccf00a01000e3e1f2f1e1f143c34a0f7b47edcb38 jsmn-1.1.0.tar.gz
+sha256 4675b94a50d2afe811c52785463c854f1156056632cce17cc7133939eac8ed55 LICENSE
#
################################################################################
-JSMN_VERSION = 6021415cc75e7922d45b12935f56348b064d8a7f
-JSMN_SITE = $(call github,zserge,jsmn,$(JSMN_VERSION))
+JSMN_VERSION = 1.1.0
+JSMN_SITE = $(call github,zserge,jsmn,v$(JSMN_VERSION))
JSMN_LICENSE = MIT
JSMN_LICENSE_FILES = LICENSE
-# static library only
+# single-header, header-only library
JSMN_INSTALL_STAGING = YES
JSMN_INSTALL_TARGET = NO
-define JSMN_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
-endef
-
define JSMN_INSTALL_STAGING_CMDS
- $(INSTALL) -D -m 0644 $(@D)/libjsmn.a $(STAGING_DIR)/usr/lib/libjsmn.a
$(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
endef