2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-19 08:37:34 +02:00
|
|
|
#
|
|
|
|
# inadyn
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-19 08:37:34 +02:00
|
|
|
|
2020-03-26 01:42:59 +01:00
|
|
|
INADYN_VERSION = 2.7
|
2017-06-05 12:39:42 +02:00
|
|
|
INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION)
|
|
|
|
INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.xz
|
2017-03-30 15:43:32 +02:00
|
|
|
INADYN_LICENSE = GPL-2.0+
|
2014-10-23 15:31:18 +02:00
|
|
|
INADYN_LICENSE_FILES = COPYING
|
2020-03-02 18:49:13 +01:00
|
|
|
INADYN_DEPENDENCIES = host-pkgconf libconfuse
|
2016-10-17 22:14:30 +02:00
|
|
|
|
2014-05-21 19:14:12 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2014-10-16 19:06:05 +02:00
|
|
|
INADYN_CONF_OPTS += --enable-openssl
|
2014-05-21 19:14:12 +02:00
|
|
|
INADYN_DEPENDENCIES += openssl
|
2014-10-16 19:06:05 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
INADYN_DEPENDENCIES += gnutls
|
2014-05-21 19:14:12 +02:00
|
|
|
else
|
2014-10-16 19:06:05 +02:00
|
|
|
INADYN_CONF_OPTS += --disable-ssl
|
2014-05-21 19:14:12 +02:00
|
|
|
endif
|
2012-06-19 08:37:34 +02:00
|
|
|
|
2014-10-16 19:06:05 +02:00
|
|
|
define INADYN_INSTALL_SAMPLE_CONFIG
|
2014-11-30 15:19:00 +01:00
|
|
|
$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
|
|
|
|
$(TARGET_DIR)/etc/inadyn.conf
|
2014-05-20 11:59:51 +02:00
|
|
|
endef
|
2014-10-16 19:06:05 +02:00
|
|
|
INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG
|
2014-05-20 11:59:51 +02:00
|
|
|
|
|
|
|
define INADYN_INSTALL_INIT_SYSV
|
2012-06-19 08:37:34 +02:00
|
|
|
$(INSTALL) -D -m 0755 package/inadyn/S70inadyn \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S70inadyn
|
|
|
|
endef
|
|
|
|
|
2015-05-23 12:03:45 +02:00
|
|
|
define INADYN_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/inadyn/inadyn.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
|
|
|
|
endef
|
|
|
|
|
2014-10-16 19:06:05 +02:00
|
|
|
$(eval $(autotools-package))
|