2014-12-16 15:47:58 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tinc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-10-09 10:39:59 +02:00
|
|
|
TINC_VERSION = 1.0.35
|
2014-12-16 15:47:58 +01:00
|
|
|
TINC_SITE = http://www.tinc-vpn.org/packages
|
|
|
|
TINC_DEPENDENCIES = lzo openssl zlib
|
2017-03-30 15:43:32 +02:00
|
|
|
TINC_LICENSE = GPL-2.0+ with OpenSSL exception
|
2014-12-16 15:47:58 +01:00
|
|
|
TINC_LICENSE_FILES = COPYING COPYING.README
|
|
|
|
TINC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
|
|
|
|
2016-07-11 16:35:14 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
2015-08-10 15:36:36 +02:00
|
|
|
TINC_CONF_ENV += \
|
|
|
|
ax_cv_check_cflags___fPIE=no \
|
|
|
|
ax_cv_check_ldflags___pie=no
|
|
|
|
endif
|
|
|
|
|
2018-01-26 19:54:44 +01:00
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
|
|
TINC_DEPENDENCIES += systemd
|
|
|
|
TINC_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
|
|
endif
|
|
|
|
|
2014-12-16 15:47:58 +01:00
|
|
|
$(eval $(autotools-package))
|