2018-09-15 01:46:54 +02:00
|
|
|
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-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-10-28 17:18:11 +02:00
|
|
|
TERMUX_PKG_VERSION=4.3.0
|
2022-01-10 15:33:21 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-03-20 12:23:14 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/warmcat/libwebsockets/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-10-28 17:18:11 +02:00
|
|
|
TERMUX_PKG_SHA256=ceef46e3bffb368efe4959202f128fd93d74e10cd2e6c3ac289a33b075645c3b
|
|
|
|
TERMUX_PKG_DEPENDS="openssl, libcap, libuv, zlib"
|
2019-07-20 10:42:33 +02:00
|
|
|
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
|
2021-05-04 20:46:53 +02:00
|
|
|
-DLWS_BUILD_HASH=no_hash
|
2020-02-15 23:28:18 +01:00
|
|
|
"
|
2018-09-15 01:46:54 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/pkgconfig/libwebsockets_static.pc"
|