termux-packages/packages/luarocks/build.sh

13 lines
408 B
Bash
Raw Normal View History

2016-11-26 00:20:40 +01:00
TERMUX_PKG_HOMEPAGE=https://luarocks.org/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Deployment and management system for Lua modules"
2016-11-26 00:20:40 +01:00
TERMUX_PKG_VERSION=2.4.1
TERMUX_PKG_SRCURL=https://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="curl, luajit"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure () {
2016-11-26 00:20:40 +01:00
./configure --prefix=$TERMUX_PREFIX \
--with-lua=$TERMUX_PREFIX \
--lua-version=5.1
2015-06-13 01:03:31 +02:00
}