[GRASS-SVN] r48741 -
grass/branches/releasebranch_6_4/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 11 14:34:07 EDT 2011
Author: martinl
Date: 2011-10-11 11:34:07 -0700 (Tue, 11 Oct 2011)
New Revision: 48741
Modified:
grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
Log:
wingrass: build also other packages
Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh 2011-10-11 18:00:53 UTC (rev 48740)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh 2011-10-11 18:34:07 UTC (rev 48741)
@@ -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