2019-09-17 22:27:55 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/luvit/luv
|
|
|
|
TERMUX_PKG_DESCRIPTION="Bare libuv bindings for lua"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-01-28 19:25:44 +01:00
|
|
|
TERMUX_PKG_VERSION=1.43.0-0
|
2019-09-17 22:27:55 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/luvit/luv/releases/download/$TERMUX_PKG_VERSION/luv-$TERMUX_PKG_VERSION.tar.gz
|
2022-01-28 19:25:44 +01:00
|
|
|
TERMUX_PKG_SHA256=567a6f3dcdcf8a9b54ddc57ffef89d1e950d72832b85ee81c8c83a9d4e0e9de2
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-07-06 07:20:53 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libluajit, libuv"
|
2019-09-17 22:27:55 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DBUILD_MODULE=OFF
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
|
|
|
-DLUA_BUILD_TYPE=System
|
2021-07-06 07:20:53 +02:00
|
|
|
-DLUAJIT_INCLUDE_DIR=$TERMUX_PREFIX/include/luajit-2.1
|
|
|
|
-DLUA_PACKAGE_DIR=$TERMUX_PREFIX/lib/lua/5.1
|
|
|
|
-DWITH_LUA_ENGINE=LuaJit
|
2019-09-17 22:27:55 +02:00
|
|
|
-DWITH_SHARED_LIBUV=ON
|
|
|
|
"
|
2020-10-01 15:18:14 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2021-07-06 07:20:53 +02:00
|
|
|
export LDFLAGS+=" -L$TERMUX_PREFIX/lib/lua/5.1"
|
2020-10-01 15:18:14 +02:00
|
|
|
}
|