termux-packages/packages/libwebsockets/build.sh
Butta fb49a41db3 gmic: update from 2.9.1 to 2.9.2
gnupg: update from 2.2.22 to 2.2.23

jfrog-cli: update from 1.39.2 to 1.39.3

libwebsockets: update from 4.0.20 to 4.0.21
2020-09-04 16:20:48 +05:30

17 lines
661 B
Bash

TERMUX_PKG_HOMEPAGE=https://libwebsockets.org
TERMUX_PKG_DESCRIPTION="Lightweight C websockets library"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_VERSION=4.0.21
TERMUX_PKG_SRCURL=https://github.com/warmcat/libwebsockets/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78
TERMUX_PKG_DEPENDS="openssl, libuv, zlib"
TERMUX_PKG_BREAKS="libwebsockets-dev"
TERMUX_PKG_REPLACES="libwebsockets-dev"
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"