kumquat-buildroot/package/udpcast/udpcast.mk
Fabrice Fontaine 4fb91d8b9d package/udpcast: bump to version 20200328
Drop patch (not needed anymore) as console.h has been updated with:
 #if HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-21 22:38:47 +02:00

32 lines
868 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
define UDPCAST_REMOVE_UDP_SENDER
rm -f $(TARGET_DIR)/usr/sbin/udp-sender
rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1
endef
ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y)
UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER
endif
define UDPCAST_REMOVE_UDP_RECEIVER
rm -f $(TARGET_DIR)/usr/sbin/udp-receiver
rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1
endef
ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y)
UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER
endif
$(eval $(autotools-package))