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.

44 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2017 Roger Pueyo Centelles <roger.pueyo@guifi.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v3
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mikrotik_btest
  9. PKG_VERSION:=0.5.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/kadosch/mikrotik_btest.git
  13. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  14. PKG_SOURCE_VERSION:=02a0e7df411b5e7775fe2795709996a30afb7f47
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  16. PKG_MIRROR_HASH:=f72e1c8e2d98ca9e1c6a7fba35838a4a3c25b2dcd4bd8b10b67662003b3a14d1
  17. PKG_LICENSE:=GPLv3
  18. PKG_LICENSE_FILES:=COPYING
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/mikrotik-btest
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=Bandwidth test client for Mikrotik BTest server
  24. DEPENDS:=+libpthread +librt
  25. URL:=https://github.com/kadosch/mikrotik_btest.git
  26. MAINTAINER:=Roger Pueyo Centelles <roger.pueyo@guifi.net>
  27. endef
  28. define Package/mikrotik-btest/description
  29. A bandwidth test client compatible with Mikrotik's RouterOS BTest server.
  30. endef
  31. define Package/mikrotik-btest/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mikrotik_btest $(1)/usr/bin/mikrotik_btest
  34. endef
  35. $(eval $(call BuildPackage,mikrotik-btest))