################################################################################ # # ssdp-responder # ################################################################################ SSDP_RESPONDER_VERSION = 1.8 SSDP_RESPONDER_SITE = https://github.com/troglobit/ssdp-responder/releases/download/v$(SSDP_RESPONDER_VERSION) SSDP_RESPONDER_LICENSE = ISC SSDP_RESPONDER_LICENSE_FILES = LICENSE SSDP_RESPONDER_CPE_ID_VENDOR = \ simple_service_discovery_protocol_responder_project SSDP_RESPONDER_CPE_ID_PRODUCT = simple_service_discovery_protocol_responder SSDP_RESPONDER_DEPENDENCIES = host-pkgconf ifeq ($(BR2_PACKAGE_SYSTEMD),y) SSDP_RESPONDER_DEPENDENCIES += systemd SSDP_RESPONDER_CONF_OPTS += --with-systemd else SSDP_RESPONDER_CONF_OPTS += --without-systemd endif define SSDP_RESPONDER_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/ssdp-responder/S50ssdpd \ $(TARGET_DIR)/etc/init.d/S50ssdpd endef define SSDP-RESPONDER_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 $(@D)/ssdp-responder.service \ $(TARGET_DIR)/usr/lib/systemd/system/ssdp-responder.service endef $(eval $(autotools-package))