kumquat-buildroot/package/ttcp/ttcp.mk

26 lines
586 B
Makefile
Raw Normal View History

2003-06-11 09:27:45 +02:00
#############################################################
#
# ttcp
#
#############################################################
#
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
define TTCP_EXTRACT_CMDS
cp -f -t $(@D) $(DL_DIR)/$(TTCP_SOURCE)
endef
2003-06-11 09:27:45 +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
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
$(eval $(generic-package))