nuke $Id$ in /packages as well
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ttcp
11 PKG_VERSION:=3.8
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/ttcp
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/ttcp
19 SECTION:=net
20 CATEGORY:=Network
21 TITLE:=A TCP connection performance tester
22 URL:=https://dev.openwrt.org/browser/packages/net/ttcp/
23 endef
24
25 define Package/ttcp/description
26 A small utility to test TCP connection performance.
27 endef
28
29 define Build/Compile
30 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/ttcp ttcp.c
31 endef
32
33 define Package/ttcp/install
34 $(INSTALL_DIR) $(1)/usr/bin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ttcp $(1)/usr/bin/
36 endef
37
38 $(eval $(call BuildPackage,ttcp))