2 # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
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
:=89acbe51799c5d7bdf6d8e6704fcd1a07735ee7d1ed67a0bc646a5d9a9d1099f
18 PKG_MAINTAINER
:=Jan Pavlinec
<jan.pavlinec1@gmail.com
>
20 PKG_LICENSE_FILES
:=LICENSE.md
22 PKG_BUILD_DEPENDS
:=golang
/host
24 PKG_BUILD_FLAGS
:=no-mips16
26 GO_PKG
:=github.com
/git-lfs
/git-lfs
28 include $(INCLUDE_DIR
)/package.mk
29 include ..
/..
/lang
/golang
/golang-package.mk
31 define Package
/git-lfs
34 TITLE
:=Git Large File Storage
35 URL
:=https
://git-lfs.com
36 DEPENDS
:=$(GO_ARCH_DEPENDS
) +git
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.
45 $(eval
$(call GoBinPackage
,git-lfs
))
46 $(eval
$(call BuildPackage
,git-lfs
))