termux-packages/packages/luarocks/build.sh

11 lines
475 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://luarocks.org/
TERMUX_PKG_DESCRIPTION="Deployment and management system for Lua modules"
2016-09-26 15:21:21 +02:00
TERMUX_PKG_VERSION=2.4.0
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="curl, luajit"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure () {
./configure --prefix=$TERMUX_PREFIX --with-lua=$TERMUX_PREFIX --with-lua-include=$TERMUX_PREFIX/include/luajit-2.0 --lua-version=5.1 --lua-suffix=jit
}