030c5f62b89193644208e7676fd1316bb0bb2d30
[openwrt/staging/yousong.git] / package / network / utils / iperf3 / Makefile
1 #
2 # Copyright (C) 2007-2010 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:=iperf
11 PKG_VERSION:=3.0.11
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://downloads.es.net/pub/iperf
17 PKG_MD5SUM:=a3b2bed7961ba184566df3c3d47f96a6
18
19 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
20 PKG_LICENSE:=BSD-3-Clause
21
22 PKG_BUILD_PARALLEL:=1
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/iperf3
28 SECTION:=net
29 CATEGORY:=Network
30 TITLE:=Internet Protocol bandwidth measuring tool
31 URL:=http://sourceforge.net/projects/iperf/
32 endef
33
34 CONFIGURE_ARGS += --disable-shared
35
36 MAKE_FLAGS += noinst_PROGRAMS=
37
38 define Package/iperf3/description
39 Iperf is a modern alternative for measuring TCP and UDP bandwidth
40 performance, allowing the tuning of various parameters and
41 characteristics.
42 endef
43
44 define Package/iperf3/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,iperf3))