diff options
| author | forever2k38 <forever2k38@forever2k38.net> | 2026-09-29 16:08:55 +0200 |
|---|---|---|
| committer | forever2k38 <forever2k38@forever2k38.net> | 2026-09-29 16:08:55 +0200 |
| commit | 4a68e9825c9dcf65fe267cfdba53b5cef474b801 (patch) | |
| tree | 4f10f5120a2438d9fdf1cd337c8d0e113ccbbeb0 /dev-lang/lua5.5 | |
| parent | f7fda4ec9a87f59d97d0b5952f4899942d57dd7c (diff) | |
package toml-c (lua package in progress)
Diffstat (limited to 'dev-lang/lua5.5')
| -rw-r--r-- | dev-lang/lua5.5/build.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-lang/lua5.5/build.lua b/dev-lang/lua5.5/build.lua new file mode 100644 index 0000000..92ce830 --- /dev/null +++ b/dev-lang/lua5.5/build.lua @@ -0,0 +1,38 @@ +local package = {} + +local lfs = require("lfs") + +package.name = "lua5.5" +package.version = "5.5.1" +package.description = "powerful, efficient, lightweight, embeddable scripting language" +package.arch = { "x86_64" } +package.license = { "MIT" } + +package.deps = { + build = { + { provides = "cc" }, + { provides = "make" }, + }, +} + +package.sources = { + { + path = "https://www.lua.org/ftp/lua-5.5.1.tar.gz", + hash = "b3f9ba31a8c33ef564233bb633168246d3e04f44b28f2d16130b14b47fd65a1f3b44bed0e2b7bf773d9526abc2c941db4213b01e95de8af5f523658ec4315bff", + out = "source.tar.gz", + }, +} + +package.build = function() + pow.extract("source.tar.gz", "source") + + lfs.chdir("source/lua-5.5.1") + + local make_command = string.format("make %s", pow.config.makeopts) + + os.execute(make_command) +end + +package.install = function() end + +return package |
