e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
857 B
Makefile
30 lines
857 B
Makefile
#############################################################
|
|
#
|
|
# udpcast
|
|
#
|
|
#############################################################
|
|
UDPCAST_VERSION:=20071228
|
|
UDPCAST_SOURCE:=udpcast-$(UDPCAST_VERSION).tar.gz
|
|
UDPCAST_SITE:=http://www.udpcast.linux.lu/download
|
|
UDPCAST_CONF_ENV = $(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
|
|
|
|
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))
|