git-lfs: update to 3.5.1
[feed/packages.git] / net / git-lfs / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=git-lfs
11 PKG_VERSION:=3.5.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/git-lfs/git-lfs/releases/download/v$(PKG_VERSION)
16 PKG_HASH:=fc19c7316e80a6ef674aa4e1863561c1263cd4ce0588b9989e4be9461664d752
17
18 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=LICENSE.md
21
22 PKG_BUILD_DEPENDS:=golang/host
23 PKG_BUILD_PARALLEL:=1
24 PKG_BUILD_FLAGS:=no-mips16
25
26 GO_PKG:=github.com/git-lfs/git-lfs
27
28 include $(INCLUDE_DIR)/package.mk
29 include ../../lang/golang/golang-package.mk
30
31 define Package/git-lfs
32 SECTION:=net
33 CATEGORY:=Network
34 TITLE:=Git Large File Storage
35 URL:=https://git-lfs.com
36 DEPENDS:=$(GO_ARCH_DEPENDS) +git
37 endef
38
39 define Package/git-lfs/description
40 Git Large File Storage (LFS) replaces large files such as audio samples,
41 videos, datasets, and graphics with text pointers inside Git, while storing
42 the file contents on a remote server like GitHub.com or GitHub Enterprise.
43 endef
44
45 $(eval $(call GoBinPackage,git-lfs))
46 $(eval $(call BuildPackage,git-lfs))