Info2: << Package: octclip-oct%type_pkg[oct] Version: 1.0.3 Type: oct (3.8.2), forge (octclip), gcc (4.9) Revision: 4 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/octclip/index.html License: OSI-Approved Description: Boolean polygon operations in Octave DescDetail: << This package allows one to do boolean operations with polygons using the Greiner-Hormann algorithm. It provides the following functions: Category Kernel functions: _oc_polybool Category Driver functions: oc_polybool << BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, hdf5.9 << Depends: << octave%type_pkg[oct]-interpreter << Conflicts: octave-forge Source-Checksum: SHA256(d45246a7c90779ed88cc3b8b733744e8d4c5f53806a8f280c72be70cfd920640) Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz SourceDirectory: %type_pkg[forge] 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: << License is listed as GPL3/modified BSD, but the validator desn't currently recognize that combination. 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 contains underscores. << <<