Info2: << Package: splines-oct%type_pkg[oct] Version: 1.2.6 Type: oct (3.6.0 3.6.1 3.6.2 3.6.3 3.6.4), forge (splines) Revision: 1 Maintainer: Alexander Hansen # 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 Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-MD5: f05add3d2da194d33d9db9ed37461bc7 SourceDirectory: %type_pkg[forge] BuildDepends: << liboctave%type_pkg[oct]-dev, fink-octave-scripts, fftw3, hdf5.8 << Depends: octave%type_pkg[oct]-interpreter Conflicts: octave-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 SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib 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: 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. << <<