1 ################################################################################
5 ################################################################################
7 SOFTETHER_VERSION
= 1e17c9bcfd7e7b31756aa5389bcbff76c2c9c88a
8 SOFTETHER_SITE
= $(call github
,SoftEtherVPN
,SoftEtherVPN
,$(SOFTETHER_VERSION
))
10 https
://github.com
/dajhorn
/SoftEtherVPN
/commit
/c5e5d7e93c6f3302adf5821c29c4efdb7630e418.patch \
11 https
://github.com
/dajhorn
/SoftEtherVPN
/commit
/75625af541fd128f51079d0ffe5ef24645b8f421.patch
12 SOFTETHER_LICENSE
= GPLv2
13 SOFTETHER_LICENSE_FILES
= LICENSE
14 SOFTETHER_DEPENDENCIES
= host-softether openssl readline
15 SOFTETHER_AUTORECONF
= YES
17 ifeq ($(BR2_ENABLE_LOCALE
),)
18 SOFTETHER_DEPENDENCIES
+= libiconv
19 SOFTETHER_CONF_ENV
= LIBS
+=" -liconv"
22 ifeq ($(BR2_STATIC_LIBS
),y
)
24 SOFTETHER_CONF_ENV
+= LIBS
+=" -lz"
27 SOFTETHER_CONF_OPTS
= \
28 --with-openssl
="$(STAGING_DIR)/usr" \
29 --with-zlib
="$(STAGING_DIR)/usr"
31 # host-libiconv does not exist, therefore we need this extra line
32 HOST_SOFTETHER_DEPENDENCIES
= host-pkgconf host-openssl host-readline
34 # target build creates the file hamcore.se2 which needs the host variant of
35 # hamcorebuilder, for details see http://www.vpnusers.com/viewtopic.php?p=5426
36 define HOST_SOFTETHER_BUILD_CMDS
37 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)/src
/Mayaqua
38 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)/src
/Cedar
39 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)/src
/hamcorebuilder
42 define HOST_SOFTETHER_INSTALL_CMDS
43 $(INSTALL
) -m
0755 $(@D
)/src
/hamcorebuilder
/hamcorebuilder
$(HOST_DIR
)/usr
/bin
/hamcorebuilder
46 $(eval
$(autotools-package
))
47 $(eval
$(host-autotools-package
))