2018-06-04 09:16:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# shadowsocks-libev
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-08-27 23:10:03 +02:00
|
|
|
SHADOWSOCKS_LIBEV_VERSION = 3.3.4
|
2018-06-04 09:16:26 +02:00
|
|
|
SHADOWSOCKS_LIBEV_SITE = https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(SHADOWSOCKS_LIBEV_VERSION)
|
|
|
|
SHADOWSOCKS_LIBEV_LICENSE = GPL-3.0+, BSD-2-Clause (libbloom), BSD-3-Clause (libcork, libipset)
|
|
|
|
SHADOWSOCKS_LIBEV_LICENSE_FILES = COPYING libbloom/LICENSE libcork/COPYING
|
|
|
|
SHADOWSOCKS_LIBEV_DEPENDENCIES = host-pkgconf c-ares libev libsodium mbedtls pcre
|
|
|
|
SHADOWSOCKS_LIBEV_INSTALL_STAGING = YES
|
|
|
|
SHADOWSOCKS_LIBEV_CONF_OPTS = \
|
|
|
|
--with-pcre=$(STAGING_DIR)/usr \
|
|
|
|
--disable-ssp
|
|
|
|
|
2018-11-21 16:12:38 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SHADOWSOCKS_LIBEV_CONNMARKTOS),y)
|
|
|
|
SHADOWSOCKS_LIBEV_DEPENDENCIES += libnetfilter_conntrack
|
|
|
|
SHADOWSOCKS_LIBEV_CONF_OPTS += --enable-connmarktos
|
2018-11-30 17:39:43 +01:00
|
|
|
else
|
|
|
|
SHADOWSOCKS_LIBEV_CONF_OPTS += --disable-connmarktos
|
2018-11-21 16:12:38 +01:00
|
|
|
endif
|
|
|
|
|
2018-06-04 09:16:26 +02:00
|
|
|
$(eval $(autotools-package))
|