![Fabrice Fontaine](/assets/img/avatar_default.png)
- 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>
20 lines
526 B
Makefile
20 lines
526 B
Makefile
################################################################################
|
|
#
|
|
# jsmn
|
|
#
|
|
################################################################################
|
|
|
|
JSMN_VERSION = 1.1.0
|
|
JSMN_SITE = $(call github,zserge,jsmn,v$(JSMN_VERSION))
|
|
JSMN_LICENSE = MIT
|
|
JSMN_LICENSE_FILES = LICENSE
|
|
# single-header, header-only library
|
|
JSMN_INSTALL_STAGING = YES
|
|
JSMN_INSTALL_TARGET = NO
|
|
|
|
define JSMN_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
|
|
endef
|
|
|
|
$(eval $(generic-package))
|