summaryrefslogtreecommitdiffstats
path: root/package/ttcp/ttcp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/ttcp/ttcp.mk')
-rw-r--r--package/ttcp/ttcp.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/ttcp/ttcp.mk b/package/ttcp/ttcp.mk
index d22f74c9f..e24566052 100644
--- a/package/ttcp/ttcp.mk
+++ b/package/ttcp/ttcp.mk
@@ -4,9 +4,10 @@
#
#############################################################
#
+TTCP_VERSION:=
TTCP_SOURCE_URL=http://ftp.sunet.se/pub/network/monitoring/ttcp
-TTCP_SOURCE=ttcp.c
-TTCP_BUILD_DIR=$(BUILD_DIR)/ttcp
+TTCP_SOURCE=ttcp$(TTCP_VERSION).c
+TTCP_BUILD_DIR=$(BUILD_DIR)/ttcp$(TTCP_VERSION)
$(DL_DIR)/$(TTCP_SOURCE):
$(WGET) -P $(DL_DIR) $(TTCP_SOURCE_URL)/$(TTCP_SOURCE)