There was one other hardcoded value deeper in...so here's an updated patch

--- get-maptools.sh     2010-07-31 10:59:14.138267100 -0700
+++ get-maptools-new.sh 2010-08-01 19:18:45.603003600 -0700
@@ -80,7 +80,7 @@
 #echo $TAR
 
 
-MAPTOOLS=http://dl.maptools.org/dl
+#MAPTOOLS=http://dl.maptools.org/dl
 
 # 
 XASDIR=$HOME/src/xastir
@@ -198,9 +198,13 @@
 
 ALL="  http://internap.dl.sourceforge.net/sourceforge/pcre/pcre-6.3.tar.gz
        http://dl.maptools.org/dl/shapelib/shapelib-1.2.10.tar.gz\
-       http://dl.maptools.org/dl/proj/proj-4.4.9.tar.gz\
-
http://dl.maptools.org/dl/geotiff/libgeotiff/libgeotiff-1.2.3.tar.gz\
-       http://dl.maptools.org/dl/gdal/gdal-1.3.2.tar.gz";
+       http://download.osgeo.org/proj/proj-4.7.0.tar.gz\
+
http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.3.0.tar.gz\
+       http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz";
+
+
+PROJDATUMURL="http://download.osgeo.org/proj";
+PROJDATUM=proj-datumgrid-1.5.zip
 
 #for XA_LIB in shapelib-1.2.10 proj-4.4.9 gdal-1.3.1 libgeotiff-1.2.3
 
@@ -272,9 +276,9 @@
        if ( printf $XA_LIB |grep -i proj) 
        then
                cd nad
-               XA_LIB_URL=${MAPTOOLS}/proj/proj-datumgrid-1.3.zip
+               XA_LIB_URL=${PROJDATUMURL}/${PROJDATUM}
                wget $XA_LIB_URL
-               unzip proj-datumgrid-1.3.zip
+               unzip ${PROJDATUM} 
                cd $XASTIR_TMP/$XA_LIB 
        fi


_______________________________________________
Xastir-dev mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir-dev

Reply via email to