ce6b23a2ee
Tarball download from github is preferred, because: - download size is smaller - git clone may be blocked in some corporate environments Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
570 B
Makefile
17 lines
570 B
Makefile
################################################################################
|
|
#
|
|
# json-javascript
|
|
#
|
|
################################################################################
|
|
|
|
JSON_JAVASCRIPT_VERSION = 42c18c621a411c3f39a81bb0a387fc50dcd738d9
|
|
JSON_JAVASCRIPT_SITE = $(call github,douglascrockford,JSON-js,$(JSON_JAVASCRIPT_VERSION))
|
|
JSON_JAVASCRIPT_LICENSE = Public Domain
|
|
JSON_JAVASCRIPT_LICENSE_FILES = json2.js
|
|
|
|
define JSON_JAVASCRIPT_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/json2.js $(TARGET_DIR)/var/www/json2.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|