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:=git-lfs
  9. PKG_VERSION:=2.13.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/git-lfs/git-lfs/tar.gz/v$(PKG_VERSION)?
  13. PKG_HASH:=f8bd7a06e61e47417eb54c3a0db809ea864a9322629b5544b78661edab17b950
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE.md
  17. PKG_BUILD_DEPENDS:=golang/host
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_USE_MIPS16:=0
  20. GO_PKG:=github.com/git-lfs/git-lfs
  21. include $(INCLUDE_DIR)/package.mk
  22. include ../../lang/golang/golang-package.mk
  23. define Package/git-lfs
  24. SECTION:=net
  25. CATEGORY:=Network
  26. TITLE:=Git Large File Storage
  27. URL:=https://git-lfs.github.com
  28. DEPENDS:=$(GO_ARCH_DEPENDS) +git
  29. endef
  30. define Package/git-lfs/description
  31. Git Large File Storage (LFS) replaces large files such as audio samples,
  32. videos, datasets, and graphics with text pointers inside Git, while storing
  33. the file contents on a remote server like GitHub.com or GitHub Enterprise.
  34. endef
  35. $(eval $(call GoBinPackage,git-lfs))
  36. $(eval $(call BuildPackage,git-lfs))