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

Added Files:
        netcdf-oct.info 
Log Message:
New package


--- NEW FILE: netcdf-oct.info ---
Info2: <<
Package: netcdf-oct%type_pkg[oct]
Version: 1.0.1
Type: oct (3.4.3 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4), forge (netcdf), gcc (4.8)
Revision: 1

Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/octcdf/index.html 

Description: MATLAB compatible NetCDF interface for Octave
DescDetail: <<
It contains the following functions and examples:

High-level functions:
        nccreate
        ncdisp
        ncinfo
        ncreadatt
        ncread
        ncwriteatt
        ncwrite
        ncwriteschema
Low-level functions:
        netcdf_getConstant
        netcdf_getConstantNames
        netcdf_inqLibVers
        netcdf_setDefaultFormat
        netcdf_setChunkCache
        netcdf_getChunkCache
        netcdf_create
        netcdf_open
        netcdf_abort
        netcdf_sync
        netcdf_setFill
        netcdf_inq
        netcdf_inqUnlimDims
        netcdf_inqFormat
        netcdf_defDim
        netcdf_renameDim
        netcdf_defVar
        netcdf_renameVar
        netcdf_defVarFill
        netcdf_inqVarFill
        netcdf_defVarDeflate
        netcdf_inqVarDeflate
        netcdf_defVarChunking
        netcdf_inqVarChunking
        netcdf_defVarFletcher32
        netcdf_inqVarFletcher32
        netcdf_endDef
        netcdf_reDef
        netcdf_putVar
        netcdf_getVar
        netcdf_close
        netcdf_inqAttName
        netcdf_inqAttID
        netcdf_inqAtt
        netcdf_getAtt
        netcdf_putAtt
        netcdf_copyAtt
        netcdf_renameAtt
        netcdf_delAtt
        netcdf_inqVarID
        netcdf_inqVarIDs
        netcdf_inqVar
        netcdf_inqDim
        netcdf_inqDimID
        netcdf_inqDimIDs
        netcdf_defGrp
        netcdf_inqGrps
        netcdf_inqGrpName
        netcdf_inqGrpNameFull
        netcdf_inqGrpParent
        netcdf_inqGrpFullNcid
        netcdf_inqNcid
Test function:
        test_netcdf
<<

License: GPL2+

BuildDepends: <<
  ( %type_pkg[oct] << 360 ) liboctave%type_pkg[oct]-gcc%type_pkg[gcc]-dev,
  ( %type_pkg[oct] >= 360 ) liboctave%type_pkg[oct]-dev,
  fftw3, 
  netcdf-c7 (>= 4.3.0-1), 
  hdf5.8,
  fink-octave-scripts (>= 0.2.0-2)
<<
Depends: << 
  octave%type_pkg[oct]-interpreter,
  netcdf-c7-shlibs (>= 4.3.0-1),
  ( %type_pkg[oct] << 360 ) gcc%type_pkg[gcc]-shlibs
  <<
Conflicts: octave-forge

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz
Source-MD5: baf557065bb28203e39537f7c600bcd9
SourceDirectory: %type_pkg[forge]

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
UseMaxBuildJobs: false
BuildAsNobody: false

CompileScript: <<
#!/bin/sh -ev

# Source directory, either %type_raw[forge] or %type_raw[forge]-%v
pkgsrc=%type_raw[forge]

##### Invariant stuff begins here #####
%p/share/fink-octave-scripts/octave-forge-patch.sh %type_raw[forge] %v 
%type_raw[oct] %b %i $pkgsrc
./octave-forge-compile.sh
<<

InstallScript: ./octave-forge-install.sh
PostInstScript:  
%p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-postinst.sh
PreRmScript: 
%p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-prerm.sh

DescPackaging: <<
This package:
This package can use netCDF4 (netcdf7 or netcdf-c7 in Fink), or if that isn't 
found, libnc-dap (libnc-dap3 in Fink).  We allow for both possibilities and 
specify a BuildConflicts: netcdf7, netcdf-c7 for the -ncdap variant to remove
nc-config and thereby allow fallback to libnc-dap.

The -oct343 variant carries dependencies on gcc4N* due to Octave-3.4.3 
broadcasting
what it was built with.

Common for all octave-forge packages:
We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't 
cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template, or when the package name doesn't match 
the archive name.
<<
<<


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&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