You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2022 Oleg Derevenetz <oleg.derevenetz@gmail.com>
  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:=bwping
  9. PKG_VERSION:=2.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/bwping
  13. PKG_HASH:=1d8762227f40909f6d42ef756ebc2c258e5fd4f268ff63ecc544b8d6f0802c82
  14. PKG_MAINTAINER:=Oleg Derevenetz <oleg.derevenetz@gmail.com>
  15. PKG_LICENSE:=BSD-2-Clause
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/bwping
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=Tool to measure bandwidth and RTT between two hosts using ICMP
  24. URL:=https://bwping.sourceforge.io/
  25. endef
  26. define Package/bwping/description
  27. BWPing is a tool to measure bandwidth and response times between two
  28. hosts using Internet Control Message Protocol (ICMP) echo request/echo
  29. reply mechanism. It does not require any special software on the remote
  30. host. The only requirement is the ability to respond on ICMP echo request
  31. messages. BWPing supports both IPv4 and IPv6 networks.
  32. endef
  33. define Package/bwping/install
  34. $(INSTALL_DIR) $(1)/usr/sbin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin/
  36. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME)6 $(1)/usr/sbin/
  37. endef
  38. $(eval $(call BuildPackage,bwping))