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) 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-github-agl-ed25519
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=https://github.com/agl/ed25519.git
  12. PKG_SOURCE_VERSION:=5312a61534124124185d41f09206b9fef1d88403
  13. PKG_SOURCE_DATE:=20170117
  14. PKG_MIRROR_HASH:=be9e9223e7a15f4c12d9f652f5a50a59c01fd1f87ee73bea0ebfd661b5a7ca9c
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  18. PKG_BUILD_DEPENDS:=golang/host
  19. PKG_BUILD_PARALLEL:=1
  20. GO_PKG:=github.com/agl/ed25519
  21. GO_PKG_SOURCE_ONLY:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. include ../golang-package.mk
  24. define Package/golang-github-agl-ed25519-dev
  25. $(call GoPackage/GoSubMenu)
  26. TITLE:=Ed25519 signature algorithm for Go
  27. URL:=https://github.com/agl/ed25519
  28. DEPENDS:=$(GO_ARCH_DEPENDS) \
  29. +golang-golang-x-crypto-dev
  30. PKGARCH:=all
  31. endef
  32. define Package/golang-github-agl-ed25519-dev/description
  33. Ed25519 is a public-key signature system based on elliptic-curve
  34. cryptography.
  35. endef
  36. $(eval $(call GoSrcPackage,golang-github-agl-ed25519-dev))
  37. $(eval $(call BuildPackage,golang-github-agl-ed25519-dev))