buildroot/package/udpcast/udpcast.mk
Gustavo Zacarias e717b104f2 udpcast: add license information
[Peter: GPL license is v2+]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-02 00:42:23 +02:00

32 lines
860 B
Makefile

################################################################################
#
# udpcast
#
################################################################################
UDPCAST_VERSION = 20120424
UDPCAST_SITE = http://www.udpcast.linux.lu/download
UDPCAST_DEPENDENCIES = host-m4
UDPCAST_LICENSE = BSD-2c, GPLv2+
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))