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-01-18 00:58:39 +01:00
|
|
|
TERMUX_PKG_VERSION=2.4.2
|
2016-11-26 00:20:40 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://luarocks.org/releases/luarocks-${TERMUX_PKG_VERSION}.tar.gz
|
2017-01-18 01:45:10 +01:00
|
|
|
TERMUX_PKG_SHA256=0e1ec34583e1b265e0fbafb64c8bd348705ad403fe85967fd05d3a659f74d2e5
|
2017-01-18 00:58:39 +01:00
|
|
|
TERMUX_PKG_DEPENDS="curl, lua"
|
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
|
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 \
|
2017-01-18 00:58:39 +01:00
|
|
|
--lua-version=5.3
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|