termux-packages/packages/luarocks/build.sh

16 lines
562 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"
2017-10-14 23:44:40 +02:00
TERMUX_PKG_VERSION=2.4.3
TERMUX_PKG_SHA256=4d414d32fed5bb121c72d3ff1280b7f2dc9027a9bc012e41dfbffd5b519b362e
2016-11-26 00:20:40 +01:00
TERMUX_PKG_SRCURL=https://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="curl, lua"
TERMUX_PKG_BUILD_DEPENDS="liblua-dev"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
2015-06-13 01:03:31 +02:00
termux_step_configure () {
2016-11-26 00:20:40 +01:00
./configure --prefix=$TERMUX_PREFIX \
--with-lua=$TERMUX_PREFIX \
--lua-version=5.3
2015-06-13 01:03:31 +02:00
}