diff --git a/Config.uk b/Config.uk index 691f48a..95a98e8 100644 --- a/Config.uk +++ b/Config.uk @@ -1,13 +1,21 @@ -menuconfig LIBLUA - bool "The Lua programming language" - default n - select LIBMUSL - select LIBUKTIME - select UKUNISTD - select LIBUKSIGNAL +menu "Library configuration" + +config LIBLUA + bool "Lua scripting language" + default n + select LIBMUSL + select LIBUKTIME + select UKUNISTD + select LIBUKSIGNAL + help + The Lua scripting language library (v5.4.8). if LIBLUA - config LIBLUA_MAIN_FUNCTION - bool "Provide main function" - default y +config LIBLUA_MAIN_FUNCTION + bool "Provide main function" + default y + help + Provide a default main() function. endif + +endmenu diff --git a/Library.uk b/Library.uk index 48a46c6..a5ef0b9 100644 --- a/Library.uk +++ b/Library.uk @@ -1,5 +1,5 @@ -name := "lua" +name := "lib-lua" description := "A powerful, efficient, lightweight, embeddable scripting language." homepage := "https://www.lua.org/" license := "MIT" -version := 5.4.4 sha256:164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61 https://www.lua.org/ftp/lua-5.4.4.tar.gz +version := 5.4.8 sha256:164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61 https://www.lua.org/ftp/lua-5.4.8.tar.gz diff --git a/Makefile.uk b/Makefile.uk index 2a2da5c..62a0450 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -6,14 +6,13 @@ $(eval $(call addlib_s,liblua,$(CONFIG_LIBLUA))) ################################################################################ # Sources ################################################################################ -LIBLUA_VERSION=5.4.4 +LIBLUA_VERSION=5.4.8 LIBLUA_TARBALL=lua-$(LIBLUA_VERSION) LIBLUA_URL=https://www.lua.org/ftp/$(LIBLUA_TARBALL).tar.gz LIBLUA_PATCHDIR=$(LIBLUA_BASE)/patches $(eval $(call fetch,liblua,$(LIBLUA_URL))) $(eval $(call patch,liblua,$(LIBLUA_PATCHDIR),lua-$(LIBLUA_VERSION))) - ################################################################################ # Helpers ################################################################################