2013-02-06 02:28:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libwebsockets
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-04-06 01:52:55 +02:00
|
|
|
LIBWEBSOCKETS_VERSION = v1.4-chrome43-firefox-36
|
2013-09-06 08:14:15 +02:00
|
|
|
LIBWEBSOCKETS_SOURCE = libwebsockets-$(LIBWEBSOCKETS_VERSION).tar.xz
|
2013-02-06 02:28:59 +01:00
|
|
|
LIBWEBSOCKETS_SITE = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot
|
2014-05-01 00:45:00 +02:00
|
|
|
LIBWEBSOCKETS_LICENSE = LGPLv2.1 with exceptions
|
|
|
|
LIBWEBSOCKETS_LICENSE_FILES = LICENSE
|
2013-02-06 02:28:59 +01:00
|
|
|
LIBWEBSOCKETS_DEPENDENCIES = zlib
|
|
|
|
LIBWEBSOCKETS_INSTALL_STAGING = YES
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DWITHOUT_TESTAPPS=ON
|
2014-05-01 00:45:00 +02:00
|
|
|
|
2014-10-31 14:49:02 +01:00
|
|
|
ifeq ($(BR2_INET_IPV6),y)
|
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_IPV6=ON
|
|
|
|
else
|
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_IPV6=OFF
|
|
|
|
endif
|
|
|
|
|
2014-05-01 00:45:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2014-11-03 11:03:30 +01:00
|
|
|
LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl
|
2014-10-31 14:49:02 +01:00
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON
|
2014-05-01 00:45:00 +02:00
|
|
|
else
|
2014-10-31 14:49:02 +01:00
|
|
|
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF
|
2014-05-01 00:45:00 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|