Merge branch '255-git-lfs-module' into 'master'
Resolve "git-lfs module" Closes #255 See merge request Pmodules/buildblocks!378
This commit is contained in:
24
Tools/git-lfs/build
Executable file
24
Tools/git-lfs/build
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/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 -m 0755 -d "${PREFIX}/bin"
|
||||
install -m 0755 ./bin/git-lfs "${PREFIX}/bin"
|
||||
install -m 0755 -d "${PREFIX}/.lib64"
|
||||
install -m 0755 "${GCC_PREFIX}/lib64/libgo.so.21.0.0" "${PREFIX}/.lib64/libgo.so.21"
|
||||
patchelf --force-rpath --set-rpath '$ORIGIN/../.lib64' "${PREFIX}/bin/git-lfs"
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
1
Tools/git-lfs/files/variants.rhel6
Normal file
1
Tools/git-lfs/files/variants.rhel6
Normal file
@@ -0,0 +1 @@
|
||||
git-lfs/3.3.0 stable b:gcc/12.1.0 b:patchelf/0.14.5
|
||||
13
Tools/git-lfs/modulefile
Normal file
13
Tools/git-lfs/modulefile
Normal file
@@ -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 <achim.gsell@psi.ch>"
|
||||
|
||||
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.
|
||||
"
|
||||
Reference in New Issue
Block a user