kumquat-buildroot/package/ssdp-responder/ssdp-responder.mk
Fabrice Fontaine 8beee9309f package/ssdp-responder: fix CPE variables
cpe:2.3🅰️simple_service_discovery_protocol_responder_project:simple_service_discovery_protocol_responder
is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Asimple_service_discovery_protocol_responder_project%3Asimple_service_discovery_protocol_responder

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-25 21:26:58 +01:00

34 lines
1.1 KiB
Makefile

################################################################################
#
# 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))