2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.es.net/pub/iperf
16 PKG_MD5SUM:=a3b2bed7961ba184566df3c3d47f96a6
18 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
19 PKG_LICENSE:=BSD-3-Clause
24 include $(INCLUDE_DIR)/package.mk
29 TITLE:=Internet Protocol bandwidth measuring tool
30 URL:=https://github.com/esnet/iperf
33 TARGET_CFLAGS += -D_GNU_SOURCE
34 CONFIGURE_ARGS += --disable-shared
36 MAKE_FLAGS += noinst_PROGRAMS=
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
44 define Package/iperf3/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
49 $(eval $(call BuildPackage,iperf3))