package/janet: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
7636bdaf1f
commit
9a5c9c058c
@ -920,6 +920,7 @@ F: package/copas/
|
||||
F: package/coxpcall/
|
||||
F: package/dado/
|
||||
F: package/ficl/
|
||||
F: package/janet/
|
||||
F: package/libtomcrypt/
|
||||
F: package/libtommath/
|
||||
F: package/libwpe/
|
||||
|
@ -624,6 +624,7 @@ endif
|
||||
source "package/gauche/Config.in"
|
||||
source "package/guile/Config.in"
|
||||
source "package/haserl/Config.in"
|
||||
source "package/janet/Config.in"
|
||||
source "package/jimtcl/Config.in"
|
||||
source "package/lua/Config.in"
|
||||
source "package/luainterpreter/Config.in"
|
||||
|
10
package/janet/Config.in
Normal file
10
package/janet/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_JANET
|
||||
bool "janet"
|
||||
help
|
||||
Janet is a functional and imperative programming language.
|
||||
The entire language (core library, interpreter, compiler,
|
||||
assembler, PEG) is less than 1MB. You can also add Janet
|
||||
scripting to an application by embedding a single C file
|
||||
and two headers.
|
||||
|
||||
https://janet-lang.org/
|
5
package/janet/janet.hash
Normal file
5
package/janet/janet.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 e2cf16b330e47c858a675ac79b5a0af83727ff041efcb133a80f36bedfae57c4 janet-1.15.0.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 1114e280d850605ae71b656dfc88115ab06081e8157720a2497f50edf50b110e LICENSE
|
22
package/janet/janet.mk
Normal file
22
package/janet/janet.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# janet
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JANET_VERSION = 1.15.0
|
||||
JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION))
|
||||
JANET_LICENSE = MIT
|
||||
JANET_LICENSE_FILES = LICENSE
|
||||
|
||||
JANET_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
JANET_CONF_OPTS += -Ddynamic_modules=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
JANET_CONF_OPTS += -Dsingle_threaded=true
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
Loading…
Reference in New Issue
Block a user