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.

45 lines
1015 B

  1. #
  2. # Copyright (c) 2018 Tony Ambardar
  3. # This is free software, licensed under the GNU General Public License v2.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=speedtest-netperf
  7. PKG_VERSION:=1.0.0
  8. PKG_RELEASE:=1
  9. PKG_LICENSE:=GPL-2.0
  10. PKG_MAINTAINER:=Tony Ambardar <itugrok@yahoo.com>
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/speedtest-netperf
  13. SECTION:=net
  14. CATEGORY:=Network
  15. TITLE:=Script to measure the performance of your network and router
  16. DEPENDS:=+netperf
  17. CONFLICTS:=speedtest
  18. PKGARCH:=all
  19. endef
  20. define Package/speedtest-netperf/description
  21. Script to measure the performance of your network and router.
  22. Please see https://github.com/openwrt/packages/blob/master/net/speedtest-netperf/files/README.md for further information.
  23. endef
  24. define Build/Prepare
  25. endef
  26. define Build/Configure
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/speedtest-netperf/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) ./files/speedtest-netperf.sh $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,speedtest-netperf))