summaryrefslogtreecommitdiffstats
path: root/package/vde2/vde2.mk
blob: cb85f57deab096bdc2a417596f938cc743dac266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#############################################################
#
# vde2
#
#############################################################

VDE2_VERSION         = 2.3.2
VDE2_SOURCE          = vde2-$(VDE2_VERSION).tar.bz2
VDE2_SITE            = http://downloads.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)
VDE2_LICENSE         = GPLv2+ LGPLv2.1+ BSD-3c
VDE2_LICENSE_FILES   = COPYING COPYING.libvdeplug COPYING.slirpvde
VDE2_INSTALL_STAGING = YES

# We touch configure.ac, so we need to autoreconf
VDE2_AUTORECONF      = YES

# Reasons for enabling/disabling stuff:
# - tuntap is enabled in the hope we're using a recent-enough toolchain
#   that does have if_tun.h (virtually everything these days)
# - kvde_switch is disabled because it requires a patched kernel
# - cryptcab is disabled to not depend on openSSL
# - python is disabled to not depend on Python
# - pcap is disabled to not depend on libpcap
# - profiling is disabled because we do not want to debug/profile
#
# Note: disabled features can be added with corresponding dependencies
#       in future commits.
VDE2_CONF_OPT = --disable-experimental  \
                --disable-cryptcab      \
                --disable-pcap          \
                --disable-python        \
                --disable-profile       \
                --disable-kernel-switch \
                --enable-tuntap         \

# Package does not build in parallel due to improper make rules
VDE2_MAKE = $(MAKE1)

$(eval $(autotools-package))