Package: nco-dap Version: 3.9.8 Revision: 2 Description: The netCDF Operators (DAP-enabled version) License: GPL Maintainer: Alexander Hansen # Prerequisites Depends: << bison (>=1.35-2), libdap9-shlibs, libxml2-shlibs, libiconv, libnc-dap3-shlibs (>=3.7.3-1), libgettext3-shlibs (>=0.14.5-2), libcurl4-shlibs, libssh2.1-shlibs, gsl-shlibs, udunits2-shlibs << BuildDepends: << libgettext3-dev, libiconv-dev, libdap9, libnc-dap3 (>=3.7.3-1), libxml2, libiconv-dev, libcurl4, libxml2 (>=2.6.26-1001), system-openssl-dev (>=0.9.7-4), libssh2.1, antlr, netcdf ( >=3.6.2-1), fink (>=0.28-1), gsl, udunits2-dev << Conflicts: nco Replaces: nco # Unpack Phase: Source: http://nco.sourceforge.net/src/nco-%v.tar.gz Source-MD5: 412e3dce53abef435d415d39c0dc36a0 # Patch Phase: PatchScript: << #!/bin/sh -ev perl -pi -e 's|||' src/nco++/Invoke.cc \ src/nco++/NcapVector.hh src/nco++/ncoGrammer.g src/nco++/ncoLexer.hpp \ src/nco++/ncoParser.hpp src/nco++/ncoTree.hpp perl -pi -e 's|-lnco|%b/src/nco/.libs/libnco.a|' src/nco++/Makefile.in perl -pi -e 's,dynamiclib,$& -single_module,' configure aclocal.m4 << # Compile Phase: GCC: 4.0 SetCXX: g++-4.0 SetCPPFLAGS: -I%p/lib/system-openssl/include SetLDFLAGS: -L%p/lib/system-openssl/lib ConfigureParams: << --enable-static --enable-shared=no --disable-dependency-tracking --enable-dap-netcdf=no \ --enable-dap-opendap=yes --enable-udunits2=yes --enable-netcdf4=no --enable-gsl=yes << # Install Phase: DocFiles: doc/* InfoDocs: nco.info InstallScript: << make install DESTDIR=%d << 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. The prior "nco" package is being left around for compatibility, in case users have built against those libraries. << DescPort: << Get rid of hardcoded malloc.h for C++ stuff. Patch out an -lnco that of course links to a library in the previously installed version of the package. GSL support is disabled, at least for now, because of an undefined symbol error. Upstream has gotten rid of building shared libraries except when netcdf4 is used. The netcdf4 and the libdap options are exclusive, so when/if there is a netcdf4 package in Fink there will need to be a separate version of this package. << Homepage: http://nco.sourceforge.net/