b49e3da1ab
udpcast unconditionally build manpages which will raise the following
build failure without pod2man since at least bump to version 20200328 in
commit 4fb91d8b9d
:
sh: line 1: pod2man: command not found
To fix this issue, rework how udpcast is built and installed to always
build and install the sender or the receiver and never build the
manpages. As a side effect, this will also avoid to install the unneeded
rateGovernor.h
Fixes:
- http://autobuild.buildroot.org/results/ce602a09357e950d79794391cd4a852d565914f1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
24 lines
692 B
Makefile
24 lines
692 B
Makefile
################################################################################
|
|
#
|
|
# udpcast
|
|
#
|
|
################################################################################
|
|
|
|
UDPCAST_VERSION = 20200328
|
|
UDPCAST_SITE = http://www.udpcast.linux.lu/download
|
|
UDPCAST_DEPENDENCIES = host-m4
|
|
UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+
|
|
UDPCAST_LICENSE_FILES = COPYING
|
|
UDPCAST_TARGETS = \
|
|
$(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \
|
|
$(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender)
|
|
UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS)
|
|
|
|
define UDPCAST_INSTALL_TARGET_CMDS
|
|
$(foreach f,$(UDPCAST_TARGETS),\
|
|
$(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f)
|
|
)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|