package/jsmn: bump to version 1.1.0
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 8 Jan 2020 21:44:38 +0000 (22:44 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 8 Jan 2020 22:10:11 +0000 (23:10 +0100)
- jsmn is a single-header, header-only library since version 1.1.0 and
  https://github.com/zserge/jsmn/commit/fdcef3ebf886fa210d14956d3c068a653e76a24e
- 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>
package/jsmn/jsmn.hash
package/jsmn/jsmn.mk

index 91f64201e775018c67ca12874c86c96871e48d1b..b5a78f6ebfdf4f5c94d20a797c3d233bf76f4237 100644 (file)
@@ -1,2 +1,3 @@
 # Locally computed
-sha256  e08993848b2abab62aa9572a560bb6e5ed4762f8537cd67c4de6cb17e17090a0    jsmn-6021415cc75e7922d45b12935f56348b064d8a7f.tar.gz
+sha256  5f0913a10657fe7ec8d5794ccf00a01000e3e1f2f1e1f143c34a0f7b47edcb38    jsmn-1.1.0.tar.gz
+sha256  4675b94a50d2afe811c52785463c854f1156056632cce17cc7133939eac8ed55    LICENSE
index c98f2798ee56065ffeeadcd35e2891f1e831d525..750e8cf82c6906b2bb0601ff348ee6fd2c1def4b 100644 (file)
@@ -4,20 +4,15 @@
 #
 ################################################################################
 
-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