54d70fedde
dropped upstream patch 0001 renamed patch 0002 -> 0001 added hash details : https://github.com/warmcat/libwebsockets/blob/master/changelog Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
927 B
Makefile
31 lines
927 B
Makefile
################################################################################
|
|
#
|
|
# libwebsockets
|
|
#
|
|
################################################################################
|
|
|
|
LIBWEBSOCKETS_VERSION = v1.4-chrome43-firefox-36
|
|
LIBWEBSOCKETS_SOURCE = libwebsockets-$(LIBWEBSOCKETS_VERSION).tar.xz
|
|
LIBWEBSOCKETS_SITE = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot
|
|
LIBWEBSOCKETS_LICENSE = LGPLv2.1 with exceptions
|
|
LIBWEBSOCKETS_LICENSE_FILES = LICENSE
|
|
LIBWEBSOCKETS_DEPENDENCIES = zlib
|
|
LIBWEBSOCKETS_INSTALL_STAGING = YES
|
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DWITHOUT_TESTAPPS=ON
|
|
|
|
ifeq ($(BR2_INET_IPV6),y)
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_IPV6=ON
|
|
else
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_IPV6=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON
|
|
else
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|