]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/build-win32-cross-tools
Fix some trivial errors and implemented the restore of IRIX xattrs.
[bacula/bacula] / bacula / src / win32 / build-win32-cross-tools
index 5d2915689f754566d093e63f2b5845d12ca779d7..9d05f88de9e6eb9e87bc385831f7a3f8b8ec4ec4 100755 (executable)
@@ -42,6 +42,7 @@
 
 # Directory where cross-tools directory will be placed
 TOPDIR=../../..
+TOPDIR=${DEPKGS:-${TOPDIR}}
 # Cross tools directory name under TOPDIR
 CROSSTOOLS=cross-tools
 # What flavor of GCC cross-compiler are we building? under CROSSTOOLS
@@ -52,6 +53,7 @@ cwd=`pwd`
 cd ${TOPDIR}
 # Make TOPDIR absolute 
 TOPDIR=`pwd`
+TOPDIR=${DEPKGS:-${TOPDIR}}
 
 cd ${cwd}/`dirname $0`
 SCRIPTDIR=`pwd`
@@ -85,7 +87,8 @@ PURGE_DIR="Y"
 # You need to set both the URL they will be downloaded from
 # and the exact name of the individual component files.
 
-MINGW_URL="http://superb-west.dl.sourceforge.net/sourceforge/mingw"
+#MINGW_URL="http://superb-west.dl.sourceforge.net/sourceforge/mingw"
+MINGW_URL="http://www.bacula.org/cross-tools"
 
 # GCC_CORE is required; the other components are optional.
 # Set any you don't want to "".  You need binutils,
@@ -115,7 +118,8 @@ MINGW_UTILS_ARCHIVE="mingw-utils-0.3-src.tar.gz"
 # These are the files from the SDL website
 # These are optional, set them to "" if you don't want them)
 
-SDL_URL="http://www.libsdl.org/extras/win32/common"
+#SDL_URL="http://www.libsdl.org/extras/win32/common"
+SDL_URL="http://www.bacula.org/cross-tools"
 
 OPENGL_ARCHIVE="opengl-devel.tar.gz"
 DIRECTX_ARCHIVE="directx-devel.tar.gz"