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.

42 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=speedtestpp
  3. PKG_VERSION:=1.14
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://github.com/taganaka/SpeedTest.git
  7. PKG_SOURCE_DATE:=2021-12-06
  8. PKG_SOURCE_VERSION:=0f63cfbf7ce8d64ea803bf143b957eae76323405
  9. PKG_MIRROR_HASH:=4221584dc3e1e31f2560ef347298a2bcca3ac2331049970b7bd7d742e4e1825f
  10. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  11. PKG_LICENSE:=MIT
  12. CMAKE_INSTALL:=1
  13. include $(INCLUDE_DIR)/package.mk
  14. include $(INCLUDE_DIR)/nls.mk
  15. include $(INCLUDE_DIR)/cmake.mk
  16. CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release .
  17. define Package/speedtestpp
  18. SECTION:=net
  19. CATEGORY:=Network
  20. TITLE:=speedtest++
  21. DEPENDS:=+libcurl +libxml2 +libopenssl +libstdcpp $(ICONV_DEPENDS)
  22. CONFLICTS:=python3-speedtest-cli
  23. URL:=https://github.com/taganaka/SpeedTest
  24. endef
  25. define Package/speedtestpp/description
  26. Yet another unofficial speedtest.net client cli interface
  27. endef
  28. define Package/speedtestpp/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(CP) $(PKG_INSTALL_DIR)/usr/bin/SpeedTest $(1)/usr/bin/speedtest
  31. endef
  32. $(eval $(call BuildPackage,speedtestpp))