all buildblocks moved one level up
This commit is contained in:
43
Tools/git/build
Executable file
43
Tools/git/build
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
case ${OS} in
|
||||
Darwin )
|
||||
export NO_APPLE_COMMON_CRYPTO=1
|
||||
# we use 'asciidoc' from MacPorts
|
||||
PATH+=':/opt/local/bin'
|
||||
;;
|
||||
esac
|
||||
|
||||
pbuild::configure() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-tcltk \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
make
|
||||
|
||||
make -C contrib/subtree prefix="${prefix}"
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
make install
|
||||
make install-doc
|
||||
make -C contrib/subtree prefix="${PREFIX}" install
|
||||
make -C contrib/subtree prefix="${PREFIX}" install-doc
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
pbuild::set_runtime_dependencies 'Tcl' 'Tk'
|
||||
pbuild::set_docfiles 'COPYING' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
21
Tools/git/modulefile
Normal file
21
Tools/git/modulefile
Normal file
@@ -0,0 +1,21 @@
|
||||
#%Module1.0
|
||||
|
||||
set dont-setenv { GIT_DIR }
|
||||
|
||||
set whatis "distributed version control system"
|
||||
set url "http://git-scm.com/"
|
||||
set license "GNU GPL v2"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Git is a free and open source distributed version control system
|
||||
designed to handle everything from small to very large projects
|
||||
with speed and efficiency.
|
||||
|
||||
Git is easy to learn and has a tiny footprint with lightning fast
|
||||
performance. It outclasses SCM tools like Subversion, CVS, Perforce,
|
||||
and ClearCase with features like cheap local branching, convenient
|
||||
staging areas, and multiple workflows.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
2
Tools/git/with_modules
Normal file
2
Tools/git/with_modules
Normal file
@@ -0,0 +1,2 @@
|
||||
Tcl/8.6.4
|
||||
Tk/8.6.4
|
||||
Reference in New Issue
Block a user