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:
|
||||
Reference in New Issue
Block a user