The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / tor / tor.mk
1 ################################################################################
2 #
3 # tor
4 #
5 ################################################################################
6
7 TOR_VERSION = 0.2.5.12
8 TOR_SITE = https://dist.torproject.org
9 TOR_LICENSE = BSD-3c
10 TOR_LICENSE_FILES = LICENSE
11 TOR_DEPENDENCIES = libevent openssl zlib
12 TOR_AUTORECONF = YES
13
14 TOR_CONF_OPTS = \
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
19
20 ifeq ($(BR2_STATIC_LIBS),y)
21 TOR_CONF_OPTS += \
22         --enable-static-libevent \
23         --enable-static-openssl \
24         --enable-static-tor \
25         --enable-static-zlib
26 endif
27
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
31 else
32 TOR_CONF_OPTS += --disable-seccomp
33 endif
34
35 $(eval $(autotools-package))