net/bwping: BWPing is a small utility for bandwidth measuring. (thank you Florian...
[openwrt/svn-archive/archive.git] / net / bwping / Makefile
1 #
2 # Copyright (C) 2011 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:=bwping
11 PKG_VERSION:=1.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/bwping
16 PKG_MD5SUM:=4c2215551df7f00de8559fd0cd1ff4db
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/bwping
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Open Source bandwidth measurement tool
26 URL:=http://bwping.sourceforge.net
27 endef
28
29 define Package/bwping/description
30 BWPing
31 BWPing is a bandwidth measurement tool based on ICMP echo
32 request/reply. It is especially well suited for lossy links. BWPing
33 does not not require any special software on the remote host (only
34 the ability to respond on ICMP echo request messages).
35 endef
36
37 define Package/bwping/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
40 endef
41
42 $(eval $(call BuildPackage,bwping))