termux-packages/packages/luv/build.sh

16 lines
586 B
Bash
Raw Normal View History

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"
2019-11-13 09:52:24 +01:00
TERMUX_PKG_VERSION="1.32.0-0"
TERMUX_PKG_SHA256=25a34b2aecf02d1fd32352c855577dcecd20c756dee9eb7ebecd206bf1de26d3
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
TERMUX_PKG_DEPENDS="liblua, libuv"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_MODULE=OFF
-DBUILD_SHARED_LIBS=ON
-DLUA_BUILD_TYPE=System
-DLUA_INCLUDE_DIR=$TERMUX_PREFIX/include
-DWITH_LUA_ENGINE=Lua
-DWITH_SHARED_LIBUV=ON
"