2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-06-11 09:27:45 +02:00
|
|
|
#
|
|
|
|
# ttcp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2003-06-11 09:27:45 +02:00
|
|
|
#
|
2012-09-21 14:28:35 +02:00
|
|
|
TTCP_VERSION =
|
|
|
|
TTCP_SITE = http://ftp.sunet.se/pub/network/monitoring/ttcp
|
|
|
|
TTCP_SOURCE = ttcp.c
|
|
|
|
TTCP_LICENSE = public domain
|
2003-06-11 09:27:45 +02:00
|
|
|
|
2012-09-21 14:28:35 +02:00
|
|
|
define TTCP_EXTRACT_CMDS
|
|
|
|
cp -f -t $(@D) $(DL_DIR)/$(TTCP_SOURCE)
|
|
|
|
endef
|
2003-06-11 09:27:45 +02:00
|
|
|
|
2012-09-21 14:28:35 +02:00
|
|
|
define TTCP_BUILD_CMDS
|
|
|
|
$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) \
|
|
|
|
-o $(@D)/ttcp $(@D)/$(TTCP_SOURCE)
|
|
|
|
endef
|
2003-06-11 09:27:45 +02:00
|
|
|
|
2012-09-21 14:28:35 +02:00
|
|
|
define TTCP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/ttcp $(TARGET_DIR)/usr/bin/ttcp
|
|
|
|
endef
|
2003-06-11 09:27:45 +02:00
|
|
|
|
2012-09-21 14:28:35 +02:00
|
|
|
$(eval $(generic-package))
|