Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv17200

Modified Files:
        nco.info 
Log Message:
Taking over, and updating to the latest version.

Index: nco.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/nco.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- nco.info    9 Apr 2007 14:51:47 -0000       1.8
+++ nco.info    1 Sep 2007 00:49:25 -0000       1.9
@@ -1,34 +1,49 @@
 Package: nco
-Version: 3.1.8
-Revision: 4
+Version: 3.9.1
+Revision: 11
 Description: The netCDF Operators
 License: GPL
-Maintainer: None <[EMAIL PROTECTED]>
+Maintainer: Alexander Hansen <[EMAIL PROTECTED]>
 
 # 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), libgettext3-shlibs 
(>=0.14.5-2)
-BuildDepends: netcdf (>=3.6.0-2), libgettext3-dev, libiconv-dev, libdap3 
(>=3.5.2-1), libnc-dap3 (>=3.5.2-1), libcurl3-unified (>=7.15.3-1), libxml2 
(>=2.6.26-1001), system-openssl-dev (>=0.9.7-4)
+
+Depends: <<
+bison (>=1.35-2), udunits (>=1.11.7-4), libdap6-shlibs (>=3.7.8-11), 
libxml2-shlibs, libiconv,
+libnc-dap3-shlibs (>=3.7.0-11), libgettext3-shlibs (>=0.14.5-2), 
libcurl4-shlibs, libssh2.1-shlibs
+<<
+BuildDepends: <<
+libgettext3-dev, libiconv-dev, libdap6 (>=3.7.8-11), libnc-dap3 (>=3.7.0-11), 
libxml2, libiconv-dev,
+libcurl4, libxml2 (>=2.6.26-1001), system-openssl-dev (>=0.9.7-4), libssh2.1, 
antlr, netcdf-bin ( >=3.6.2-1)
+<<
 
 # Unpack Phase:
 Source: http://%n.sourceforge.net/src/%n-%v.tar.gz
-Source-MD5: 99413fa4202d4a1c2a25f34af2b3dedb 
+Source-MD5: 9c7c77779f75818b53cda44090c92950
 
 # Patch Phase:
-Patch: %{ni}.patch
-
+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
+<<
 # Compile Phase:
 GCC: 4.0
 SetCXX: g++-4.0
 SetCPPFLAGS: -I%p/lib/system-openssl/include
 SetLDFLAGS: -L%p/lib/system-openssl/lib
-ConfigureParams: --prefix=%p --enable-shared=no --enable-dap=yes 
--disable-dependency-tracking
-
+ConfigureParams: <<
+--enable-static --enable-shared --enable-dap=yes \
+--disable-dependency-tracking --libdir=%p/lib/%n/lib \
+--includedir=%p/lib/%n/include
+<<
 # Install Phase:
 DocFiles: doc/*
 InfoDocs: nco.info
 
 InstallScript: <<
-       make prefix=%i install mandir=%i/share/man infodir=%i/share/info
+       make install DESTDIR=%d
 <<
 
 DescDetail: <<
@@ -43,4 +58,15 @@
        netCDF files.
 <<
 
+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.
+<<
+DescPackaging: <<
+It's set up to use dylibs, but they, and their includes, have been safely 
+buried in a private directory since the compat_version is 0.0.0 .  If one 
+wants to build stuff that links to the library, upstream needs to be nagged.
+Otherwise the libraries should be treated as private for now.
+<<
 Homepage: http://nco.sourceforge.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to