Info2: << Package: ncarray-oct%type_pkg[oct] Version: 1.0.3 # Packages with compiled oct files generally need the following # if they support Octave < 3.6.0: Type: oct (3.8.2), forge (ncarray) Revision: 1 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/ncarray/index.html Description: Multi-dimensional array of NetCDF files DescDetail: << This package allows Octave to access a single netCDF file or a collection of such files as a multi-dimensional array. It provides the following functions: ncArray: ncArray ncCatArray nccoord cached_decompress @ncArray/coord @ncArray/ncArray @ncArray/subsasgn @ncArray/subsref ncBaseArray: @BaseArray/BaseArray @BaseArray/end @BaseArray/full @BaseArray/isnumeric @BaseArray/max @BaseArray/mean @BaseArray/min @BaseArray/moment @BaseArray/numel @BaseArray/prod @BaseArray/reduce @BaseArray/size @BaseArray/std @BaseArray/sum @BaseArray/sumsq @BaseArray/var Test script: test_ncarray << License: GPL2+ # default source Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(a71a53386cdadaee8cf620d9d6d96e8404198d10da05150ed93d1b1d609b37fc) SourceDirectory: ncarray BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, fink (>=0.32), hdf5.9 << Depends: octave%type_pkg[oct]-interpreter RuntimeDepends: netcdf-oct%type_pkg[oct], statistics-oct%type_pkg[oct] Conflicts: octave-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. << <<