2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-28 03:54:42 +01:00
|
|
|
#
|
|
|
|
# udpcast
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-20 10:45:47 +01:00
|
|
|
|
2013-05-23 15:12:47 +02:00
|
|
|
UDPCAST_VERSION = 20120424
|
2013-01-20 10:45:47 +01:00
|
|
|
UDPCAST_SITE = http://www.udpcast.linux.lu/download
|
2010-04-10 18:45:07 +02:00
|
|
|
UDPCAST_CONF_ENV = $(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
|
2013-06-04 02:49:26 +02:00
|
|
|
UDPCAST_DEPENDENCIES = host-m4
|
2008-03-28 03:54:42 +01:00
|
|
|
|
2010-04-10 18:45:07 +02: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
|
2010-04-10 18:45:07 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y)
|
2010-09-02 00:17:58 +02:00
|
|
|
UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER
|
2008-03-28 03:54:42 +01:00
|
|
|
endif
|
2010-04-10 18:45:07 +02:00
|
|
|
|
|
|
|
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
|
2010-04-10 18:45:07 +02:00
|
|
|
endef
|
2008-03-28 03:54:42 +01:00
|
|
|
|
2010-04-10 18:45:07 +02:00
|
|
|
ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y)
|
2010-09-02 00:17:58 +02:00
|
|
|
UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER
|
2008-03-28 03:54:42 +01:00
|
|
|
endif
|
2010-04-10 18:45:07 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|