mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[Win32 build] Let git.exe be downloaded and unpacked as well. We might start using it sooner or later.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21818 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -353,6 +353,9 @@ set_default ICU4C_PATCH `pwd`/icu-crossmingw.patch
|
||||
set_default SVN_URL "http://subversion.tigris.org/files/documents/15/47914/svn-win32-1.6.6.zip"
|
||||
set_default SVN_DIR $GLOBAL_DIR\\svn
|
||||
|
||||
set_default GIT_URL "http://msysgit.googlecode.com/files/Git-1.7.8-preview20111206.exe"
|
||||
set_default GIT_DIR $GLOBAL_DIR\\git-1.7.8
|
||||
|
||||
# OFX import in gnucash and ofx directconnect support for aqbanking
|
||||
set_default OPENSP_URL "$SF_MIRROR/openjade/OpenSP-1.5.2.tar.gz"
|
||||
set_default OPENSP_DIR $GLOBAL_DIR\\opensp
|
||||
|
||||
@@ -251,6 +251,20 @@ function inst_unzip() {
|
||||
fi
|
||||
}
|
||||
|
||||
function inst_git() {
|
||||
setup Git
|
||||
_GIT_UDIR=`unix_path $GIT_DIR`
|
||||
add_to_env $_GIT_UDIR/bin PATH
|
||||
if quiet $_GIT_UDIR/bin/git --help || quiet git --help
|
||||
then
|
||||
echo "git already installed in $_GIT_UDIR. skipping."
|
||||
else
|
||||
smart_wget $GIT_URL $DOWNLOAD_DIR
|
||||
$LAST_FILE //SP- //SILENT //DIR="$GIT_DIR"
|
||||
quiet git --help || die "git unavailable"
|
||||
fi
|
||||
}
|
||||
|
||||
# Functions before this point are basic build infrastructure functions or else they get pieces needed to build
|
||||
# gnucash but which are not part of the final product. Functions after this point are for components of the
|
||||
# final build. Please leave in alphabetical order so they are easier to find.
|
||||
|
||||
@@ -83,6 +83,7 @@ add_step inst_gnome
|
||||
add_step inst_guile
|
||||
if [ "$CROSS_COMPILE" != "yes" ]; then
|
||||
add_step inst_svn
|
||||
add_step inst_git
|
||||
fi
|
||||
add_step inst_gnutls
|
||||
add_step inst_libxslt
|
||||
|
||||
Reference in New Issue
Block a user