Package: nco Version: 3.0.2 Revision: 4 Description: The netCDF Operators License: GPL Maintainer: None # Prerequisites Depends: bison (>=1.35-2), netcdf-shlibs (>=3.6.0-2), udunits (>=1.11.7-4), libdap3-shlibs (>=3.5.2-1), libnc-dap3-shlibs (>=3.5.2-1) BuildDepends: netcdf (>=3.6.0-2), libgettext3-dev, libiconv-dev, libdap3 (>=3.5.2-1), libnc-dap3 (>=3.5.2-1), libcurl3-unified, libxml2, system-openssl-dev # Unpack Phase: Source: http://%n.sourceforge.net/src/%n-%v.tar.gz Source-MD5: 9fa9ecbe866ad50d34a3c144024db9fc Patch: %n.patch PatchScript: << perl -pi -e 's,/src/lib/(udunits.dat),/etc/\1,' configure << # Compile Phase: GCC: 3.3 SetCXX: g++-3.3 SetCPPFLAGS: -I%p/lib/system-openssl/include SetLDFLAGS: -L%p/lib/system-openssl/lib ConfigureParams: --prefix=%p --enable-shared=false --enable-dods=true --enable-optimize=true CompileScript: << #!/bin/sh -ev export UDUNITS_PATH=%p export NETCDF_LIB=%p/lib export NETCDF_INC=%p/include ./configure %c make CFLAGS="-g -O2 -std=c99 -D_BSD_SOURCE" << # Install Phase: DocFiles: doc/* InstallScript: << make prefix=%i install mandir=%i/share/man infodir=%i/share/info << InfoDocs: nco.info DescDetail: << Each NCO operator (e.g., ncks) takes netCDF or HDF input file(s), performs an operation (e.g., averaging, hyperslabbing, or renaming), and outputs a processed netCDF file. Although most users of netCDF and HDF data are involved in scientific research, these data formats, and thus NCO, are generic and are equally useful in fields like finance. This version is OPeNDAP/DODS enabled, so it can be given URLs to read remote datasets as if they were local netCDF files. << Homepage: http://nco.sourceforge.net/