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.

47 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.9.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:=d34dc096dfdebceaa027716fdf675eb9ab7f0085defb4235f52685d064bd5afa
  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. GO_PKG_TAGS:=PSIPHON_DISABLE_QUIC
  23. include $(INCLUDE_DIR)/package.mk
  24. include ../../lang/golang/golang-package.mk
  25. define Package/ooniprobe
  26. SECTION:=net
  27. CATEGORY:=Network
  28. TITLE:=OONI probe-cli
  29. URL:=https://ooni.org
  30. DEPENDS:=$(GO_ARCH_DEPENDS)
  31. endef
  32. define Package/ooniprobe/description
  33. The next generation of OONI(Open Observatory of Network Interference)
  34. Probe Command Line Interface.
  35. endef
  36. $(eval $(call GoBinPackage,ooniprobe))
  37. $(eval $(call BuildPackage,ooniprobe))