d6e3d36a85
When systemd is enabled the ssdp-responder build system already installs
the unit file, with the correct name, so we can safely drop this.
This fixes the recurring autobuilder problems that cropped up the last
week+ or so after fixing the spelling error in 6e0ba6b
.
- http://autobuild.buildroot.net/results/f6912d6f79155c5d12811beeb6cb43860e37e7e7
- http://autobuild.buildroot.net/results/7ee4ed26de7e45b52a9f6f36b839e578d2319247
- http://autobuild.buildroot.net/results/33d9c10ea58a7cd3b3e2ed75d586007a92ccdaf0
- http://autobuild.buildroot.net/results/f1238081fc94e3004aebb8e849fdd567a92a2d39
- http://autobuild.buildroot.net/results/f7f2cf790f51e6224dca258c52bd31d21d621074
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
939 B
Makefile
29 lines
939 B
Makefile
################################################################################
|
|
#
|
|
# ssdp-responder
|
|
#
|
|
################################################################################
|
|
|
|
SSDP_RESPONDER_VERSION = 1.9
|
|
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
|
|
|
|
$(eval $(autotools-package))
|