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.3 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-golang-x-text
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=https://github.com/golang/text.git
  12. PKG_SOURCE_VERSION:=5cec4b58c438bd98288aeb248bab2c1840713d21
  13. PKG_SOURCE_DATE:=20180520
  14. PKG_MIRROR_HASH:=6c541a59f32f57afa54a2216045ddf16a077f8fe2e823fbbe77723eca04ddddb
  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:=golang.org/x/text
  21. # exclude gotext (and message/pipeline) to avoid dependency on golang.org/x/tools
  22. # since there are no other binaries, can skip compilation
  23. GO_PKG_SOURCE_ONLY:=1
  24. include $(INCLUDE_DIR)/package.mk
  25. include ../golang-package.mk
  26. define Package/golang-golang-x-text-dev
  27. $(call GoPackage/GoSubMenu)
  28. TITLE:=Go text processing support
  29. URL:=https://godoc.org/golang.org/x/text
  30. DEPENDS:=$(GO_ARCH_DEPENDS)
  31. PKGARCH:=all
  32. endef
  33. define Package/golang-golang-x-text-dev/description
  34. Supplementary Go libraries for text processing, many involving Unicode.
  35. endef
  36. $(eval $(call GoSrcPackage,golang-golang-x-text-dev))
  37. $(eval $(call BuildPackage,golang-golang-x-text-dev))