From 76707317513697af24c9b23c3325ad35955c6ec9 Mon Sep 17 00:00:00 2001 From: James Reynolds Date: Tue, 22 Nov 2022 08:42:44 -0700 Subject: [PATCH] +lua.org (#20) --- projects/lua.org/package.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/lua.org/package.yml diff --git a/projects/lua.org/package.yml b/projects/lua.org/package.yml new file mode 100644 index 00000000..8ace7874 --- /dev/null +++ b/projects/lua.org/package.yml @@ -0,0 +1,25 @@ +distributable: + url: http://www.lua.org/ftp/lua-{{version}}.tar.gz + strip-components: 1 + +versions: + - 5.4.4 + +provides: + - bin/lua + - bin/luac + +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 + working-directory: build \ No newline at end of file