[GRASS-SVN] r49244 - grass-addons/tools/wingrass-packager
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 14 11:18:21 EST 2011
Author: martinl
Date: 2011-11-14 08:18:21 -0800 (Mon, 14 Nov 2011)
New Revision: 49244
Added:
grass-addons/tools/wingrass-packager/grass_addons.sh
Modified:
grass-addons/tools/wingrass-packager/grass_packager.bat
Log:
wingrass: initial addons support for G7
Added: grass-addons/tools/wingrass-packager/grass_addons.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_addons.sh (rev 0)
+++ grass-addons/tools/wingrass-packager/grass_addons.sh 2011-11-14 16:18:21 UTC (rev 49244)
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Compile AddOns GRASS 6.4, 6.5 and 7.0
+
+SVN_PATH=/c/osgeo4w/usr/src/grass_addons
+GISBASE_PREFIX=/c/osgeo4w/usr/src
+ADDON_PREFIX=/c/Users/landa/grass_packager
+
+cd $SVN_PATH
+#svn up
+
+function compile {
+ path=`echo $PATH`
+ export PATH=$PATH:/c/OSGeo4W/apps/msys/bin:$2/bin:$2/scripts
+ ./tools/addons/compile.sh $1 $2 $3
+ export PATH=$path
+}
+
+compile $SVN_PATH/grass7 $GISBASE_PREFIX/grass_trunk/dist.i686-pc-mingw32 $ADDON_PREFIX/grass70/addons
+
+exit 0
Modified: grass-addons/tools/wingrass-packager/grass_packager.bat
===================================================================
--- grass-addons/tools/wingrass-packager/grass_packager.bat 2011-11-14 16:17:12 UTC (rev 49243)
+++ grass-addons/tools/wingrass-packager/grass_packager.bat 2011-11-14 16:18:21 UTC (rev 49244)
@@ -43,9 +43,12 @@
C:\OSGeo4W\apps\msys\bin\sh.exe .\grass_md5sum.sh
-pscp.exe -i .\ssh\id_dsa.ppk .\grass64\WinGRASS*.exe* landa at geo102:/work/wingrass/grass64
-pscp.exe -i .\ssh\id_dsa.ppk .\grass64\grass*.tar.bz2 landa at geo102:/work/wingrass/grass64/osgeo4w
-pscp.exe -i .\ssh\id_dsa.ppk .\grass65\WinGRASS*.exe* landa at geo102:/work/wingrass/grass65
-pscp.exe -i .\ssh\id_dsa.ppk .\grass65\grass*.tar.bz2 landa at geo102:/work/wingrass/grass65/osgeo4w
-pscp.exe -i .\ssh\id_dsa.ppk .\grass70\WinGRASS*.exe* landa at geo102:/work/wingrass/grass70
-pscp.exe -i .\ssh\id_dsa.ppk .\grass70\grass*.tar.bz2 landa at geo102:/work/wingrass/grass70/osgeo4w
+C:\OSGeo4W\apps\msys\bin\sh.exe .\grass_addons.sh
+
+pscp.exe -i .\ssh\id_dsa.ppk .\grass64\WinGRASS*.exe* landa at geo102:/work/wingrass/grass64
+pscp.exe -i .\ssh\id_dsa.ppk .\grass64\grass*.tar.bz2 landa at geo102:/work/wingrass/grass64/osgeo4w
+pscp.exe -i .\ssh\id_dsa.ppk .\grass65\WinGRASS*.exe* landa at geo102:/work/wingrass/grass65
+pscp.exe -i .\ssh\id_dsa.ppk .\grass65\grass*.tar.bz2 landa at geo102:/work/wingrass/grass65/osgeo4w
+pscp.exe -i .\ssh\id_dsa.ppk .\grass70\WinGRASS*.exe* landa at geo102:/work/wingrass/grass70
+pscp.exe -i .\ssh\id_dsa.ppk .\grass70\grass*.tar.bz2 landa at geo102:/work/wingrass/grass70/osgeo4w
+pscp.exe -r -i .\ssh\id_dsa.ppk .\grass70\addons landa at geo102:/work/wingrass/grass70
\ No newline at end of file
More information about the grass-commit
mailing list