1 ################################################################################
5 ################################################################################
8 TOR_SITE = https://dist.torproject.org
10 TOR_LICENSE_FILES = LICENSE
11 TOR_DEPENDENCIES = libevent openssl zlib
15 --disable-gcc-hardening \
16 --with-libevent-dir=$(STAGING_DIR)/usr \
17 --with-openssl-dir=$(STAGING_DIR)/usr \
18 --with-zlib-dir=$(STAGING_DIR)/usr
20 ifeq ($(BR2_STATIC_LIBS),y)
22 --enable-static-libevent \
23 --enable-static-openssl \
28 ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
29 TOR_CONF_OPTS += --enable-seccomp
30 TOR_DEPENDENCIES += libseccomp
32 TOR_CONF_OPTS += --disable-seccomp
35 $(eval $(autotools-package))