kumquat-buildroot/package/ttcp/ttcp.mk
Alexandre Belloni 8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00

27 lines
625 B
Makefile

################################################################################
#
# ttcp
#
################################################################################
#
TTCP_VERSION =
TTCP_SITE = http://ftp.sunet.se/pub/network/monitoring/ttcp
TTCP_SOURCE = ttcp.c
TTCP_LICENSE = public domain
define TTCP_EXTRACT_CMDS
cp -f -t $(@D) $(DL_DIR)/$(TTCP_SOURCE)
endef
define TTCP_BUILD_CMDS
$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) \
-o $(@D)/ttcp $(@D)/$(TTCP_SOURCE)
endef
define TTCP_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/ttcp $(TARGET_DIR)/usr/bin/ttcp
endef
$(eval $(generic-package))