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
1.4 KiB

  1. #
  2. # Copyright (C) 2018 Jeffery To
  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:=golang-torproject-pluggable-transports-goptlib
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=https://git.torproject.org/pluggable-transports/goptlib.git
  12. PKG_SOURCE_VERSION:=7d56ec4f381e8b1aedfda360594e35a5731b5337
  13. PKG_SOURCE_DATE:=20180320
  14. PKG_MIRROR_HASH:=ec28d8882e031046efd561764e1b9119376844a1c3d4941e038cfbe32e60b058
  15. PKG_LICENSE:=CC0-1.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  18. PKG_BUILD_DEPENDS:=golang/host
  19. PKG_BUILD_PARALLEL:=1
  20. GO_PKG:=git.torproject.org/pluggable-transports/goptlib.git
  21. GO_PKG_SOURCE_ONLY:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. include ../golang-package.mk
  24. define Package/golang-torproject-pluggable-transports-goptlib-dev
  25. $(call GoPackage/GoSubMenu)
  26. TITLE:=Tor pluggable transports library for Go
  27. URL:=https://gitweb.torproject.org/pluggable-transports/goptlib.git/
  28. DEPENDS:=$(GO_ARCH_DEPENDS)
  29. PKGARCH:=all
  30. endef
  31. define Package/golang-torproject-pluggable-transports-goptlib-dev/description
  32. goptlib is a library for writing Tor pluggable transports in Go.
  33. endef
  34. $(eval $(call GoSrcPackage,golang-torproject-pluggable-transports-goptlib-dev))
  35. $(eval $(call BuildPackage,golang-torproject-pluggable-transports-goptlib-dev))