2013-02-06 02:28:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libwebsockets
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-05-01 00:45:00 +02:00
|
|
|
LIBWEBSOCKETS_VERSION = v1.23-chrome32-firefox24
|
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-05-01 00:45:00 +02:00
|
|
|
LIBWEBSOCKETS_CONF_OPT += -DWITHOUT_TESTAPPS=ON
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LIBWEBSOCKETS_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
LIBWEBSOCKETS_CONF_OPT += -DWITH_SSL=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|