netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / libwebsock / libwebsock.mk
blobb52293b21e5529ea6d52596823eb6bda567b877e
1 ################################################################################
3 # libwebsock
5 ################################################################################
7 LIBWEBSOCK_VERSION = 3c1615eeadb0b582b63851073bfe3e5132f31ebc
8 LIBWEBSOCK_SITE = $(call github,payden,libwebsock,$(LIBWEBSOCK_VERSION))
9 LIBWEBSOCK_DEPENDENCIES = libevent host-pkgconf
10 LIBWEBSOCK_AUTORECONF = YES
11 LIBWEBSOCK_INSTALL_STAGING = YES
12 LIBWEBSOCK_LICENSE = LGPLv3
13 LIBWEBSOCK_LICENSE_FILES = COPYING.lesser
15 ifeq ($(BR2_PACKAGE_OPENSSL),y)
16 LIBWEBSOCK_DEPENDENCIES += openssl
17 LIBWEBSOCK_CONF_OPTS += --with-ssl
18 else
19 LIBWEBSOCK_CONF_OPTS += --without-ssl
20 endif
22 $(eval $(autotools-package))