termux-packages/packages/libwebsockets/build.sh

17 lines
678 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://libwebsockets.org
TERMUX_PKG_DESCRIPTION="Lightweight C websockets library"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="LGPL-2.0"
2020-02-15 23:28:18 +01:00
TERMUX_PKG_VERSION=3.2.99.3
TERMUX_PKG_SRCURL=https://github.com/warmcat/libwebsockets/archive/4566979154ebe83472c69b8a5c09c92eff1dfdb4.zip
TERMUX_PKG_SHA256=40e2634739eaf17a94f7927622be44e615ed1a6505930c356b98671e51f8ec3d
TERMUX_PKG_DEPENDS="openssl, libuv, zlib"
TERMUX_PKG_BREAKS="libwebsockets-dev"
TERMUX_PKG_REPLACES="libwebsockets-dev"
2020-02-15 23:28:18 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DLWS_WITHOUT_TESTAPPS=ON
-DLWS_WITH_STATIC=OFF
-DLWS_WITH_LIBUV=ON
-DLWS_WITHOUT_EXTENSIONS=OFF
"
TERMUX_PKG_RM_AFTER_INSTALL="lib/pkgconfig/libwebsockets_static.pc"