[Lunar-commits] r20894 - in moonbase/trunk/science: . grass

Dennis Veatch stumbles at lunar-linux.org
Fri Aug 4 13:49:13 UTC 2006


Author: stumbles
Date: 2006-08-04 13:49:13 +0000 (Fri, 04 Aug 2006)
New Revision: 20894

Added:
   moonbase/trunk/science/grass/
   moonbase/trunk/science/grass/BUILD
   moonbase/trunk/science/grass/DEPENDS
   moonbase/trunk/science/grass/DETAILS
   moonbase/trunk/science/grass/POST_INSTALL
   moonbase/trunk/science/grass/PRE_BUILD
Log:

Initial import.



Added: moonbase/trunk/science/grass/BUILD
===================================================================
--- moonbase/trunk/science/grass/BUILD	                        (rev 0)
+++ moonbase/trunk/science/grass/BUILD	2006-08-04 13:49:13 UTC (rev 20894)
@@ -0,0 +1,19 @@
+(
+
+   ./configure  --prefix=/usr                   \
+                --bindir=/usr/bin               \
+                --libexecdir=/usr/libexec/grass \
+                --sbindir=/usr/sbin             \
+                --sysconfdir=/etc/grass         \
+                --libdir=/usr/lib/grass         \
+                --sysconfdir=/etc               \
+                --mandir=/usr/share/man         \
+                --localstatedir=/var/grass      \
+                --enable-shared                 \
+                --with-x                        \
+                --with-cxx                      &&
+
+   default_make
+
+) > $C_FIFO 2>&1
+


Property changes on: moonbase/trunk/science/grass/BUILD
___________________________________________________________________
Name: svn:executable
   + *

Added: moonbase/trunk/science/grass/DEPENDS
===================================================================
--- moonbase/trunk/science/grass/DEPENDS	                        (rev 0)
+++ moonbase/trunk/science/grass/DEPENDS	2006-08-04 13:49:13 UTC (rev 20894)
@@ -0,0 +1,5 @@
+depends  bison    &&
+depends  flex     &&
+depends  proj-4   &&
+depends  gdal     &&
+depends  fftw                    


Property changes on: moonbase/trunk/science/grass/DEPENDS
___________________________________________________________________
Name: svn:executable
   + *

Added: moonbase/trunk/science/grass/DETAILS
===================================================================
--- moonbase/trunk/science/grass/DETAILS	                        (rev 0)
+++ moonbase/trunk/science/grass/DETAILS	2006-08-04 13:49:13 UTC (rev 20894)
@@ -0,0 +1,18 @@
+       MODULE=grass
+      VERSION=6.0.2
+       SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL=http://grass.itc.it/grass60/source/
+   SOURCE_VFY=sha1:cc04474026b39d80cde6143c30de3c3adea262f9
+     WEB_SITE=http://grass.itc.it/index.php
+      ENTERED=20060804
+      UPDATED=20060804
+        SHORT="geospatial data management and analysis"
+
+cat << EOF
+Commonly referred to as GRASS, this is a Geographic Information 
+System (GIS) used for geospatial data management and analysis, 
+image processing, graphics/maps production, spatial modeling, 
+and visualization. GRASS is currently used in academic and 
+commercial settings around the world, as well as by many 
+governmental agencies and environmental consulting companies. 
+EOF

Added: moonbase/trunk/science/grass/POST_INSTALL
===================================================================
--- moonbase/trunk/science/grass/POST_INSTALL	                        (rev 0)
+++ moonbase/trunk/science/grass/POST_INSTALL	2006-08-04 13:49:13 UTC (rev 20894)
@@ -0,0 +1,9 @@
+#  Reinstall anything else it might want.
+if [ -n "$OLD_GRASS_VERSION" ] ; then
+	GRASSMODS="$( (lvu from /usr/grass?/$OLD_GRASS_VERSION/; lvu from /usr/grass?/$OLD_GRASS_VERSION/) | cut -d: -f1 | uniq | grep -v grass)"
+	for GRASSMOD in $(sort_by_dependency $GRASSMODS); do
+		lin -c $GRASSMOD || true
+	done
+	unset_module_config OLD_GRASS_VERSION
+fi
+

Added: moonbase/trunk/science/grass/PRE_BUILD
===================================================================
--- moonbase/trunk/science/grass/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/science/grass/PRE_BUILD	2006-08-04 13:49:13 UTC (rev 20894)
@@ -0,0 +1,11 @@
+unset_module_config OLD_GRASS_VERSION
+
+if [ "$(installed_version grass)" != "$VERSION" ]; then
+  set_module_config OLD_GRASS_VERSION $(installed_version grass)
+fi &&
+
+if module_installed grass ; then
+  lrm --upgrade grass
+fi &&
+
+default_pre_build



More information about the Lunar-commits mailing list