From ebc3d733d0a6123bc87410cddde7ad402cf11ff7 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 26 Jan 2023 17:43:20 +0100 Subject: [PATCH] git-lfs: module added --- Tools/git-lfs/build | 20 ++++++++++++++++++++ Tools/git-lfs/files/variants.rhel6 | 1 + Tools/git-lfs/modulefile | 13 +++++++++++++ 3 files changed, 34 insertions(+) create mode 100755 Tools/git-lfs/build create mode 100644 Tools/git-lfs/files/variants.rhel6 create mode 100644 Tools/git-lfs/modulefile diff --git a/Tools/git-lfs/build b/Tools/git-lfs/build new file mode 100755 index 0000000..0cf0ac1 --- /dev/null +++ b/Tools/git-lfs/build @@ -0,0 +1,20 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url \ + "https://github.com/git-lfs/git-lfs/archive/refs/tags/v3.2.0.tar.gz" \ + "git-lfs-3.2.0.tar.gz" + +pbuild::compile_in_sourcetree +#pbuild::install_docfiles 'COPYING' 'README.md' +pbuild::add_to_group 'Tools' +unset -f pbuild::configure + +pbuild::install() { + install ./bin/git-lfs "${PREFIX}/bin" +} + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/git-lfs/files/variants.rhel6 b/Tools/git-lfs/files/variants.rhel6 new file mode 100644 index 0000000..80d0b6d --- /dev/null +++ b/Tools/git-lfs/files/variants.rhel6 @@ -0,0 +1 @@ +git-lfs/3.3.0 unstable b:gcc/12.1.0 diff --git a/Tools/git-lfs/modulefile b/Tools/git-lfs/modulefile new file mode 100644 index 0000000..6f209ff --- /dev/null +++ b/Tools/git-lfs/modulefile @@ -0,0 +1,13 @@ +#%Module1.0 + +module-whatis "large file support for Git" +module-url "https://git-lfs.com" +module-license "MIT" +module-maintainer "Achim Gsell " + +module-help " +Git Large File Storage (LFS) replaces large files such as audio samples, +videos, datasets, and graphics with text pointers inside Git, while +storing the file contents on a remote server like GitHub.com or GitHub +Enterprise. +"