[csw-devel] SF.net SVN: gar:[10926] csw/mgar/pkg

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Fri Sep 3 23:21:37 CEST 2010


Revision: 10926
          http://gar.svn.sourceforge.net/gar/?rev=10926&view=rev
Author:   gadavis
Date:     2010-09-03 21:21:37 +0000 (Fri, 03 Sep 2010)

Log Message:
-----------
Adding new package NetCDF

Modified Paths:
--------------
    csw/mgar/pkg/netcdf/trunk/Makefile
    csw/mgar/pkg/netcdf/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/netcdf/

Modified: csw/mgar/pkg/netcdf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2010-09-01 22:45:15 UTC (rev 10888)
+++ csw/mgar/pkg/netcdf/trunk/Makefile	2010-09-03 21:21:37 UTC (rev 10926)
@@ -11,8 +11,8 @@
 ## For more information about GAR variables, please see:
 ## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
 ##
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = netcdf
+GARVERSION = 4.1.1
 ##
 ## The category that your software fits in. This is not a descriptive field, but
 ## influences the build process. Depending on the CATEGORIES setting, different
@@ -25,21 +25,23 @@
 CATEGORIES = lib
 ##
 ## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
+DESCRIPTION = machine-independent data formats for array-oriented scientific data
 ##
 ## A longer description of the package. This is only for descriptive purposes
 ## inside the Makefile and is not used elsewhere.
 define BLURB
-  <please fill in>
+  NetCDF (network Common Data Form) is a set of software libraries and 
+  machine-independent data formats that support the creation, access, 
+  and sharing of array-oriented scientific data. 
 endef
 ##
 ## Upstream URL that should show up in the VENDOR field as well as on
 ## http://opencsw.org/packages/<packagename>.
-SPKG_SOURCEURL =
+SPKG_SOURCEURL = http://www.unidata.ucar.edu/software/netcdf/
 ##
 ## Whitespace-separated list of URLs to download the source package from.
 ## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES =
+MASTER_SITES = http://www.unidata.ucar.edu/downloads/netcdf/ftp/
 ##
 ## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
 ## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
@@ -123,10 +125,10 @@
 ## ETCSERVICES = <file containing an entry for /etc/services>
 ## INETDCONF = <file containing an inetd.conf formatted entry>
 ## A list of runtime package dependencies in the form of CSWfoo.
-## RUNTIME_DEP_PKGS =
+RUNTIME_DEP_PKGS = CSWcurlrt CSWhdf5rt
 ##
 ## A list of packages necessary to build this package
-## BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS)
+BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWautoconf CSWautomake CSWtetex
 ##
 ## When using non-empty $(PACKAGES):
 ## RUNTIME_DEP_PKGS_CSWpkgname =
@@ -157,20 +159,40 @@
 ##
 ## BUILD_ARGS is passed as an argument to gmake during the build phase. Use this
 ## for example, if you need to override Makefile variables.
-## BUILD_ARGS =
 ##
+## CFLAGS AND LDFLAGS are necessary due to problems with the fortran bindings when
+## building 64-bit
+## BUILD_ARGS = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+##
 ## Arguments passed to the ./configure script.
-CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS = $(DIRPATHS) \
+		 --enable-netcdf-4 \
+		 --enable-dap \
+		 --enable-ncgen4 \
+		 --enable-shared \
+		 --enable-separate-fortran \
+		 --enable-cxx4 \
+		 --enable-docs-install \
+		 --enable-udunits \
+		 --disable-logging \
+		 --with-hdf5=/opt/csw \
+		 --with-zlib=/opt/csw
+
 ##
-## BUILD64 =
-## CONFIGURE_ENV =
-## EXTRA_CFLAGS =
+## Disabling 64 bit builds until we can tweak GAR to handle Fortran  & ARCH
+BUILD64 = 0
+#CONFIGURE_ENV = CC=suncc CXX=sunCC F77=sunf77 FFLAGS="-dalign" FC=sunf95 \
+#		FCFLAGS="-dalign"
+CONFIGURE_ENV = CC=cc CXX=CC F77=f77 FC=f95
+EXTRA_CFLAGS = -g
+EXTRA_CPPFLAGS = -DsunFortran -D__FUNCTION__=__func__ -D_FILE_OFFSET_BITS=64
+EXTRA_CXXFLAGS = -g
 ## EXTRA_LDFLAGS =
 ## EXTRA_INC =
 ## EXTRA_LIB =
 ## GARFLAVOR =
 ## INSTALL_ARGS =
-## OPT_FLAGS_SOS = -xO3
+OPT_FLAGS_SOS = -fast
 ## OPT_FLAGS_GCC = -O2 -pipe
 ##
 ## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
@@ -178,8 +200,13 @@
 ##
 # Remove the following rules and uncomment the
 # include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+#all: .DEFAULT
+#.DEFAULT:
+#	@true
 
-#include gar/category.mk
+include gar/category.mk
+
+pre-configure-modulated:
+	        @(cd $(WORKSRC); autoreconf)
+		@$(MAKECOOKIE)
+

Modified: csw/mgar/pkg/netcdf/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2010-09-01 22:45:15 UTC (rev 10888)
+++ csw/mgar/pkg/netcdf/trunk/checksums	2010-09-03 21:21:37 UTC (rev 10926)
@@ -0,0 +1 @@
+79c5ff14c80d5e18dd8f1fceeae1c8e1  netcdf-4.1.1.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list