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

Added Files:
        nco431-shlibs.info 
Log Message:
Woops, missed this one.


--- NEW FILE: nco431-shlibs.info ---
Info2:<<
Package: nco431-shlibs
Version: 4.3.1
Revision: 1
Type: v (4.3.1), base (nco)
Description: The NetCDF Operators, shared libraries
License: GPL3
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>

# Prerequisites
Depends: <<
        netcdf-c7-shlibs (>= 4.2.1.1-2), 
        udunits2-shlibs
<<
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)
<<
# Unpack Phase:
Source: http://nco.sourceforge.net/src/%type_pkg[base]-%v.tar.gz
Source-MD5: 7dc000805441cc30ff9de837e088df34

# 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:
InstallScript: <<
        make install DESTDIR=%d
        # remove non-library items
        rm -rf %i/include %i/bin %i/share/man %i/share/info 
%i/lib/libnco.{la,dylib} %i/lib/libnco_c++.{la,dylib}
<<
DocFiles: doc/LICENSE

Shlibs: <<
        %p/lib/libnco-%type_raw[v].dylib 0.0.0 %n (>=4.1.0-1)
        %p/lib/libnco_c++-%type_raw[v].dylib 0.0.0 %n (>=4.1.0-1)
<<

DescDetail: <<
This package provides legacy library support for items built against 
nco-%v.  
<<
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/
<<


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to