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
|
2015-04-29 15:39:00 +02:00
|
|
|
LIBWEBSOCKETS_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON
|
2014-10-31 14:49:02 +01:00
|
|
|
|
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))
|