Info2: << Package: splines-oct%type_pkg[oct] Version: 1.2.7 Type: oct (3.8.2), forge (splines) Revision: 1 Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net> # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/splines/index.html Description: Additional Cubic spline functions for Octave DescDetail: << Additional Cubic spline functions. The package includes the following functions: bin_values csapi csape csaps csaps_sel dedup fnplt fnder fnval catmullrom tpaps tps_val << License: OSI-Approved BuildDepends: << liboctave%type_pkg[oct]-dev, fink-octave-scripts (>=0.3.0-1), fftw3, hdf5.9 << Depends: octave%type_pkg[oct]-interpreter Conflicts: octave-forge Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(e0729b258bf13c2646d0ece299a72a8fa05e24381c38e61411a0806e5d735a2f) SourceDirectory: %type_pkg[forge] # Do not change anything from this point down, unless absolutely necessary, # since the foo-oct%type_pkg[oct] packages are designed to be built/installed # in the same way. NoSetCPPFLAGS: true NoSetLDFLAGS: true UseMaxBuildJobs: false BuildAsNobody: false CompileScript: << #!/bin/sh -ev 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: The license is listed as GPL3+/Public Domain, and the validator doesn't currently handle that. 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. << <<