Merge branch '293-git-review-build-block' into 'master'

Resolve "git: review build-block"

Closes #293

See merge request Pmodules/buildblocks!461
This commit is contained in:
2024-10-18 17:26:08 +02:00
3 changed files with 24 additions and 7 deletions

View File

@@ -1,12 +1,5 @@
#!/usr/bin/env modbuild
pbuild::set_download_url \
"http://www.kernel.org/pub/software/scm/$P/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Tools'
pbuild::compile_in_sourcetree
pbuild::install_docfiles 'COPYING' 'README.md'
pbuild::pre_configure_Darwin() {
export NO_APPLE_COMMON_CRYPTO=1
}

17
Tools/git/build-git-lfs Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env modbuild
unset -f pbuild::configure
unset -f pbuild::compile
pbuild::install(){
install -m 0755 git-lfs "${PREFIX}/bin"
install -m 0755 -d "${PREFIX}/share/man/man{1,5,7}"
install -m 0644 man/man1/* "${PREFIX}/share/man/man1"
install -m 0644 man/man5/* "${PREFIX}/share/man/man5"
install -m 0644 man/man7/* "${PREFIX}/share/man/man7"
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

View File

@@ -1,5 +1,12 @@
#!/usr/bin/env modbuild
pbuild::set_download_url \
"http://www.kernel.org/pub/software/scm/$P/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Tools'
pbuild::compile_in_sourcetree
pbuild::install_docfiles 'COPYING' 'README.md'
pbuild::pre_configure_Darwin() {
export NO_APPLE_COMMON_CRYPTO=1
}