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"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2019-03-10 16:48:18 +01:00
|
|
|
TERMUX_PKG_VERSION=3.0.4
|
2016-11-26 00:20:40 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
|
2019-03-10 16:48:18 +01:00
|
|
|
TERMUX_PKG_SHA256=1236a307ca5c556c4fed9fdbd35a7e0e80ccf063024becc8c3bf212f37ff0edf
|
2017-01-18 00:58:39 +01:00
|
|
|
TERMUX_PKG_DEPENDS="curl, lua"
|
2017-11-04 03:06:03 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="liblua-dev"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
2017-01-18 01:45:10 +01:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
2019-03-10 16:48:18 +01:00
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="LUA=/usr/bin/lua"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2016-11-26 00:20:40 +01:00
|
|
|
./configure --prefix=$TERMUX_PREFIX \
|
|
|
|
--with-lua=$TERMUX_PREFIX \
|
2017-01-18 00:58:39 +01:00
|
|
|
--lua-version=5.3
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|