mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
16
package/duktape/Config.in
Normal file
16
package/duktape/Config.in
Normal 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
|
||||
3
package/duktape/duktape.hash
Normal file
3
package/duktape/duktape.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 4b022e040f10d6ead4fd3d0c865ca97d1679fc39307d4d3fa4a7f463ee4b9658 duktape-2.4.0.tar.gz
|
||||
sha256 5b42d02dbd084fd6d7e61d93f52e02b596f25400e54e0f86d5780045e5b754c8 LICENSE.txt
|
||||
27
package/duktape/duktape.mk
Normal file
27
package/duktape/duktape.mk
Normal 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))
|
||||
Reference in New Issue
Block a user