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.

46 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  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:=ooniprobe
  9. PKG_VERSION:=3.14.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=probe-cli-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/ooni/probe-cli/tar.gz/v$(PKG_VERSION)?
  13. PKG_HASH:=a0b71089444c899ba99c7f63f9e05819cdbe964cfa17bb95ca5672343e6aec22
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_LICENSE_FILES:=LICENSE.md
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/probe-cli-$(PKG_VERSION)
  18. PKG_BUILD_DEPENDS:=golang/host
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_USE_MIPS16:=0
  21. GO_PKG:=github.com/ooni/probe-cli
  22. include $(INCLUDE_DIR)/package.mk
  23. include ../../lang/golang/golang-package.mk
  24. define Package/ooniprobe
  25. SECTION:=net
  26. CATEGORY:=Network
  27. TITLE:=OONI probe-cli
  28. URL:=https://ooni.org
  29. DEPENDS:=$(GO_ARCH_DEPENDS)
  30. endef
  31. define Package/ooniprobe/description
  32. The next generation of OONI(Open Observatory of Network Interference)
  33. Probe Command Line Interface.
  34. endef
  35. $(eval $(call GoBinPackage,ooniprobe))
  36. $(eval $(call BuildPackage,ooniprobe))