This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

16
package/duktape/Config.in Normal file
View File

@@ -0,0 +1,16 @@
config BR2_PACKAGE_DUKTAPE
bool "duktape"
depends on !BR2_STATIC_LIBS
help
Duktape is an embeddable Javascript engine, with a focus on
portability and compact footprint.
Duktape is easy to integrate into a C/C++ project: add
duktape.c, duktape.h, and duk_config.h to your build, and use
the Duktape API to call Ecmascript functions from C code and
vice versa.
http://www.duktape.org
comment "duktape needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 4b022e040f10d6ead4fd3d0c865ca97d1679fc39307d4d3fa4a7f463ee4b9658 duktape-2.4.0.tar.gz
sha256 5b42d02dbd084fd6d7e61d93f52e02b596f25400e54e0f86d5780045e5b754c8 LICENSE.txt

View File

@@ -0,0 +1,27 @@
################################################################################
#
# duktape
#
################################################################################
DUKTAPE_VERSION = 2.4.0
DUKTAPE_SITE = $(call github,svaarala,duktape-releases,v$(DUKTAPE_VERSION))
DUKTAPE_LICENSE = MIT
DUKTAPE_LICENSE_FILES = LICENSE.txt
DUKTAPE_INSTALL_STAGING = YES
define DUKTAPE_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary
endef
define DUKTAPE_INSTALL_STAGING_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
INSTALL_PREFIX=$(STAGING_DIR)/usr install
endef
define DUKTAPE_INSTALL_TARGET_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
INSTALL_PREFIX=$(TARGET_DIR)/usr install
endef
$(eval $(generic-package))