Info2: <<
Package: netcdf-oct%type_pkg[oct]
Version: 1.0.6
Type: oct (3.8.2), forge (netcdf), gcc (4.9)
Revision: 1

Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/netcdf/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: <<
  liboctave%type_pkg[oct]-dev,
  fftw3, 
  netcdf-c7 (>= 4.3.0-1), 
  hdf5.9,
  fink-octave-scripts (>= 0.2.0-2)
<<
Depends: << 
  octave%type_pkg[oct]-interpreter,
  netcdf-c7-shlibs (>= 4.3.0-1)
<<
Conflicts: octave-forge

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz
Source-Checksum: SHA256(af813c4c62dc0dfcc7d25fd486bfe90e1e9f359f9c475787900a70178ef6e188)
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: <<
Common for all octave-forge packages:
Preinst and postinst scripts are dynamically set up via
%p/share/fink-octave-scripts/octave-forge-patch.sh 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.
<<
<<