Info2: << Package: struct-oct%type_pkg[oct] Version: 1.0.10 Type: oct (3.8.2), forge (struct), gcc (4.9) Revision: 5 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/struct/index.html Description: Structure manipulations functions for Octave DescDetail: << Additional Structure manipulations functions for Octave. This package provides the following additional functions: Structure handling: getfields setfields tars arefields fields2cell cell2fields fieldempty structcat Tests: test_struct << License: GPL3+ BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, hdf5.9, fink (>=0.32), fink-octave-scripts (>=0.3.0-1) << Depends: << octave%type_pkg[oct]-interpreter << Conflicts: octave-forge Replaces: octave-forge-%type_raw[forge] (<< 1.0.4-999) Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(033c2a3cc0ec92668f3ac09b7bf14c816e7a4921901ed9421d30af7da9d3308c) NoSetCPPFLAGS: true NoSetLDFLAGS: true UseMaxBuildJobs: false BuildAsNobody: false CompileScript: << #!/bin/sh -ev pkgsrc=%type_raw[forge]-%v %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. << <<