pantry/projects/lua.org/package.yml

30 lines
430 B
YAML
Raw Normal View History

2022-11-22 18:42:44 +03:00
distributable:
url: http://www.lua.org/ftp/lua-{{version}}.tar.gz
strip-components: 1
versions:
- 5.4.4
provides:
- bin/lua
- bin/luac
2022-11-30 21:29:52 +03:00
interprets:
extensions: lua
args: lua
2022-12-01 20:25:57 +03:00
2022-11-22 18:42:44 +03:00
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
make all INSTALL_TOP={{prefix}}
make install INSTALL_TOP={{prefix}}
make test
test:
script: |
lua -v
2022-12-01 20:25:57 +03:00
lua -e 'print("Hello World!")'