Skip to content
Snippets Groups Projects
Commit e3793456 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'luarocks-port' into 'master'

Luarocks port

See merge request !413
parents 7fda465a 223ba2b9
No related branches found
No related tags found
1 merge request!413Luarocks port
......@@ -11,7 +11,5 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
CC="${TARGET}-gcc -std=gnu99" \
RANLIB="${TARGET}-ranlib" \
SYSLDFLAGS="-static" \
generic
mkdir -pv "${COOKBOOK_STAGE}/bin"
cp src/lua src/luac "${COOKBOOK_STAGE}/bin"
install INSTALL_TOP="${COOKBOOK_STAGE}"
"""
[source]
git = "https://github.com/luarocks/luarocks.git"
[build]
template = "custom"
dependencies = [
"lua54"
]
script = """
COOKBOOK_CONFIGURE_FLAGS=(
--sysconfdir=$COOKBOOK_SYSROOT
--with-lua-include=$COOKBOOK_SYSROOT/include
--with-lua-bin=$COOKBOOK_SYSROOT/bin
--with-lua-lib=$COOKBOOK_SYSROOT/lib
)
cd "${COOKBOOK_SOURCE}"
cookbook_configure
"""
#TODO not compiled or tested
# build instructions - https://github.com/luarocks/luarocks/wiki/Installation-instructions-for-Unix
[source]
tar = "https://luarocks.org/releases/luarocks-3.11.1.tar.gz"
[build]
template = "configure"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment