Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv313/10.4/stable/main/finkinfo/sci

Added Files:
        nco-4.2.4.info 
Log Message:
For compatibility


--- NEW FILE: nco-4.2.4.info ---
Info2:<<
Package: nco
Version: 4.2.4
Revision: 2
Type: v (4.2.4)
Description: The NetCDF Operators, using netcdf-4
License: GPL3
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>

# Prerequisites
Depends: <<
        gsl-shlibs,
        %N%type_pkg[v]-shlibs (=%v-%r)
<<
BuildDepends: <<
        antlr, gsl, udunits2-dev (>= 2.1.22-1), 
        fink (>=0.28-1), fink-package-precedence,
        netcdf-c7 (>= 4.2.1.1-2), netcdf-bin (>=4.2)
<<
Conflicts: %N (<< 4.0.8-1), %N-dap (<< 4.0.8-1), %N-netcdf (<< 4.0.9-1), 
%N-opendap 
Replaces: %N (<< 4.0.8-1), %N-dap (<< 4.0.8-1), %N-netcdf (<< 4.0.9-1), 
%N-opendap
# Unpack Phase:
Source: http://%N.sourceforge.net/src/%N-%v.tar.gz
Source-MD5: 3d4b023b8c6299d5f825acbbb69bc659

# Patch Phase:
PatchScript:  <<
#!/bin/sh -ev
        perl -pi -e 's|<malloc.h>|<stdlib.h>|' 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.dylib|' 
src/nco++/Makefile.in
        perl -pi -e 's,dynamiclib,$& -single_module,' configure aclocal.m4
        perl -pi -e "s,(apple.*)enable_shared='no',\1," configure
<<

# Compile Phase:
GCC: 4.0
SetLDFLAGS: -Wl,-dead_strip_dylibs

ConfigureParams: <<
        --enable-udunits2 --disable-udunits --enable-gsl \
        --enable-dap-netcdf \
        --enable-netcdf4 \
        --enable-dependency-tracking \
        --enable-shared \
        --disable-static 
<<
CompileScript: << 
        #!/bin/sh -ev
        export UDUNITS2_PATH=%p
        export  NETCDF_INC=%p \
                        NETCDF_LIB=%p \
                        NETCDF4_ROOT=%p
        %{default_script}
        fink-package-precedence --prohibit-bdep=%N-dap,%N-opendap,%N-netcdf,%N .
<<

# Install Phase:
DocFiles: doc/*
InfoDocs: %N.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.

        It uses Fink's netcdf-c7 package (upstream netCDF4.2).
<<
DescPackaging: <<
Upstream has discontinued using libnc-dap, so have "nco" built against
netcdf be the new hotness, and merge nco-netcdf into it on update.
<<
DescPort: <<
Get rid of hardcoded malloc.h for C++ stuff.
Patch out an -lnco that tends to link to a library in a 
previously installed version of the package.
Upstream claims OS X doesn't understand shared libs; perhaps it's
upstream who doesn't understand. :-)
<<
Homepage: http://nco.sourceforge.net/
Splitoff: <<
        Package: %N%type_pkg[v]-shlibs
        Depends: netcdf-c7-shlibs (>= 4.2.1.1-2), udunits2-shlibs
        DocFiles: doc/LICENSE
        Files: lib/libnco*%v.dylib
        Shlibs: <<
                %p/lib/libnco-%type_raw[v].dylib 0.0.0 %n (>=4.2.3-1)
                %p/lib/libnco_c++-%type_raw[v].dylib 0.0.0 %n (>=4.2.3-1)
        <<
        Description: The NetCDF Operators, shared libraries
<<
Splitoff2: <<
        Package: %N%type_pkg[v]-dev
        DocFiles: doc/LICENSE
        Files: include lib
        Description:  The NetCDF Operators, build-time files
        BuildDependsOnly: true
        Conflicts: %N (<= 4.0.9-1), %N-dap (<< 4.0.8-1), %N-netcdf (<< 
4.0.9-1), %N-opendap, %N410-dev, %N420-dev, %N421-dev, %N422-dev, %N423-dev, 
%N425-dev
    Replaces: %N (<= 4.0.9-1), %N-dap (<< 4.0.8-1), %N-netcdf (<< 4.0.9-1), 
%N-opendap, %N410-dev, %N420-dev, %N421-dev, %N422-dev, %N423-dev, %N425-dev
<<
<<


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to