[GRASS-SVN] r48742 - grass/branches/develbranch_6/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 11 14:35:54 EDT 2011


Author: martinl
Date: 2011-10-11 11:35:54 -0700 (Tue, 11 Oct 2011)
New Revision: 48742

Modified:
   grass/branches/develbranch_6/mswindows/osgeo4w/package.sh
Log:
wingrass: build also other packages
	  (merge r48741 from relbr64)


Modified: grass/branches/develbranch_6/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/develbranch_6/mswindows/osgeo4w/package.sh	2011-10-11 18:34:07 UTC (rev 48741)
+++ grass/branches/develbranch_6/mswindows/osgeo4w/package.sh	2011-10-11 18:35:54 UTC (rev 48742)
@@ -170,7 +170,8 @@
 	$SRC/mswindows/osgeo4w/grass.bat.tmpl >$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.bat.tmpl
     sed -e "s#@VERSION@#$VERSION#g" \
 	$SRC/mswindows/osgeo4w/grass.tmpl >$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.tmpl
-    
+
+    # grass package
     tar -cjf $PDIR/grass-$VERSION-$PACKAGE.tar.bz2 \
     apps/grass/grass-$VERSION \
     bin/grass$MAJOR$MINOR.bat.tmpl \
@@ -184,9 +185,21 @@
     rm bin/grass$MAJOR$MINOR.tmpl
     rm bin/grass$MAJOR$MINOR.bat.tmpl
     
-    cd $PDIR/.. 
-    svn diff >/tmp/grass-$VERSION.diff
-    tar -C /tmp -cjf $PDIR/grass-$VERSION-$PACKAGE-src.tar.bz2 grass-$VERSION.diff
+    # grass-devel package
+    tar -cjf $PDIR/grass-devel-$VERSION-$PACKAGE.tar.bz2 \
+    apps/grass/grass-$VERSION/include
+    
+    # grass-devel-mingw package
+    tar -cjf $PDIR/grass-devel-mingw-$VERSION-$PACKAGE.tar.bz2 \
+    apps/grass/grass-$VERSION/lib/*.a
+    
+    # grass-devel-vc package
+    tar -cjf $PDIR/grass-devel-vc-$VERSION-$PACKAGE.tar.bz2 \
+    apps/grass/grass-$VERSION/lib/*.lib
+    
+    # grass-locale package
+    tar -cjf $PDIR/grass-locale-$VERSION-$PACKAGE.tar.bz2 \
+    apps/grass/grass-$VERSION/locale
 fi
 
 log 



More information about the grass-commit mailing list