Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=iperf
  9. PKG_VERSION:=3.0.11
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://downloads.es.net/pub/iperf
  13. PKG_MD5SUM:=a3b2bed7961ba184566df3c3d47f96a6
  14. PKG_MAINTAINER:=Felix Fietkau <[email protected]>
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_BUILD_PARALLEL:=1
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/iperf3
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Internet Protocol bandwidth measuring tool
  23. URL:=http://sourceforge.net/projects/iperf/
  24. endef
  25. CONFIGURE_ARGS += --disable-shared
  26. MAKE_FLAGS += noinst_PROGRAMS=
  27. define Package/iperf3/description
  28. Iperf is a modern alternative for measuring TCP and UDP bandwidth
  29. performance, allowing the tuning of various parameters and
  30. characteristics.
  31. endef
  32. define Package/iperf3/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,iperf3))