BitTorrent btpd 0.13 package
[openwrt/svn-archive/archive.git] / net / ttcp / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=ttcp
12 PKG_VERSION:=3.8
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/ttcp
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/ttcp
20 SECTION:=net
21 CATEGORY:=Network
22 TITLE:=A TCP connection performance tester
23 URL:=https://dev.openwrt.org/browser/packages/net/ttcp/
24 endef
25
26 define Package/ttcp/description
27 A small utility to test TCP connection performance.
28 endef
29
30 define Build/Compile
31 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/ttcp ttcp.c
32 endef
33
34 define Package/ttcp/install
35 $(INSTALL_DIR) $(1)/usr/bin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ttcp $(1)/usr/bin/
37 endef
38
39 $(eval $(call BuildPackage,ttcp))