hc
2023-02-18 a08c8b75ee83d7f62c9aefc23bfb42082aa4076c
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
################################################################################
#
# tinc
#
################################################################################
 
TINC_VERSION = 1.0.33
TINC_SITE = http://www.tinc-vpn.org/packages
TINC_DEPENDENCIES = lzo openssl zlib
TINC_LICENSE = GPL-2.0+ with OpenSSL exception
TINC_LICENSE_FILES = COPYING COPYING.README
TINC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
 
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
TINC_CONF_ENV += \
   ax_cv_check_cflags___fPIE=no \
   ax_cv_check_ldflags___pie=no
endif
 
ifeq ($(BR2_INIT_SYSTEMD),y)
TINC_DEPENDENCIES += systemd
TINC_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
endif
 
$(eval $(autotools-package))