mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
30 lines
464 B
YAML
30 lines
464 B
YAML
distributable:
|
|
url: http://www.lua.org/ftp/lua-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: http://www.lua.org/ftp/
|
|
match: /lua-(\d+\.\d+\.\d+)\.tar\.gz/
|
|
strip:
|
|
- /lua-/
|
|
- /.tar.gz/
|
|
|
|
provides:
|
|
- bin/lua
|
|
- bin/luac
|
|
|
|
interprets:
|
|
extensions: lua
|
|
args: lua
|
|
|
|
build:
|
|
script: |
|
|
make all INSTALL_TOP={{prefix}}
|
|
make install INSTALL_TOP={{prefix}}
|
|
make test
|
|
|
|
test:
|
|
script: |
|
|
lua -v
|
|
lua -e 'print("Hello World!")'
|