Package: nco-opendap Version: 4.0.8 Revision: 6 Description: The NetCDF Operators, using OpenDAP License: GPL3 Maintainer: Alexander Hansen # Prerequisites Depends: << bison (>=1.35-2), gsl-shlibs, udunits2-shlibs (>= 2.1.22-1), libnc-dap3-shlibs (>= 1:3.7.3-4) << BuildDepends: << antlr, gsl, udunits2-dev (>= 2.1.22-1), fink (>=0.28-1), fink-package-precedence, libdap9, libnc-dap3 (>= 1:3.7.3-4), netcdf7, netcdf7-bin << Conflicts: nco (<< 4.0.8-1), nco-dap (<< 4.0.8-1), nco-netcdf, nco (>= 4.0.9-1) Replaces: nco (<< 4.0.8-1), nco-dap (<< 4.0.8-1), nco-netcdf, nco (>= 4.0.9-1) # Unpack Phase: Source: http://nco.sourceforge.net/src/nco-%v.tar.gz Source-MD5: edd1e5dab719b4bfc2cd07ec840f4f1d # 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 SetLDFLAGS: -L%p/opt/netcdf7/lib -Wl,-dead_strip_dylibs SetCPPFLAGS: -I%p/opt/netcdf7/include ConfigureParams: << --enable-udunits2 --disable-udunits --enable-gsl \ --disable-dap-netcdf \ --disable-netcdf4 \ --enable-dap-opendap \ --enable-dependency-tracking << CompileScript: << #!/bin/sh -ev export UDUNITS2_PATH=%p %{default_script} fink-package-precedence --prohibit-bdep=nco-dap,nco-opendap,nco-netcdf,nco . << # 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 -netcdf variant uses Fink's netcdf7 package (upstream NetCDF 4), and and the -opendap variant uses libnc-dap3. << DescPackaging: << Wants ncgen from netcdf-4.x.x to be installed, even when building DAP support from libdap instead of netcdf. However, it doesn't actually _link_ in that case, so there's no Depends: netcdf7-shlibs. << 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. Doesn't want to build shared libraries, even when explicitly called for. << Homepage: http://nco.sourceforge.net/