kumquat-buildroot/package/udpcast/udpcast.mk

32 lines
868 B
Makefile
Raw Normal View History

################################################################################
2008-03-28 03:54:42 +01:00
#
# udpcast
#
################################################################################
UDPCAST_VERSION = 20120424
UDPCAST_SITE = http://www.udpcast.linux.lu/download
UDPCAST_DEPENDENCIES = host-m4
UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+
UDPCAST_LICENSE_FILES = COPYING
2008-03-28 03:54:42 +01:00
define UDPCAST_REMOVE_UDP_SENDER
2008-03-28 03:54:42 +01:00
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
2008-03-28 03:54:42 +01:00
endif
define UDPCAST_REMOVE_UDP_RECEIVER
2008-03-28 03:54:42 +01:00
rm -f $(TARGET_DIR)/usr/sbin/udp-receiver
rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1
endef
2008-03-28 03:54:42 +01:00
ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y)
UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER
2008-03-28 03:54:42 +01:00
endif
$(eval $(autotools-package))