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>
This commit is contained in:
Fabrice Fontaine 2020-01-08 22:44:38 +01:00 committed by Yann E. MORIN
parent 15eaf1cb22
commit 56adf89841
2 changed files with 5 additions and 9 deletions

View File

@ -1,2 +1,3 @@
# Locally computed # Locally computed
sha256 e08993848b2abab62aa9572a560bb6e5ed4762f8537cd67c4de6cb17e17090a0 jsmn-6021415cc75e7922d45b12935f56348b064d8a7f.tar.gz sha256 5f0913a10657fe7ec8d5794ccf00a01000e3e1f2f1e1f143c34a0f7b47edcb38 jsmn-1.1.0.tar.gz
sha256 4675b94a50d2afe811c52785463c854f1156056632cce17cc7133939eac8ed55 LICENSE

View File

@ -4,20 +4,15 @@
# #
################################################################################ ################################################################################
JSMN_VERSION = 6021415cc75e7922d45b12935f56348b064d8a7f JSMN_VERSION = 1.1.0
JSMN_SITE = $(call github,zserge,jsmn,$(JSMN_VERSION)) JSMN_SITE = $(call github,zserge,jsmn,v$(JSMN_VERSION))
JSMN_LICENSE = MIT JSMN_LICENSE = MIT
JSMN_LICENSE_FILES = LICENSE JSMN_LICENSE_FILES = LICENSE
# static library only # single-header, header-only library
JSMN_INSTALL_STAGING = YES JSMN_INSTALL_STAGING = YES
JSMN_INSTALL_TARGET = NO JSMN_INSTALL_TARGET = NO
define JSMN_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define JSMN_INSTALL_STAGING_CMDS 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 $(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
endef endef