Info2: << Package: octproj-oct%type_pkg[oct] Version: 1.1.2 Type: oct (3.8.2), forge (octproj), gcc (4.9) Revision: 4 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/octproj/index.html License: GPL3+ Description: Cartographic projections for Octave DescDetail: << This package allows one to call functions of the PROJ.4 library for cartographic projection transformations. It provides the following functions: Category Kernel functions: _op_transform _op_fwd _op_inv _op_geod2geoc _op_geoc2geod Category Driver functions: op_transform op_fwd op_inv op_geod2geoc op_geoc2geod << BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, hdf5.9, libproj19 << Depends: << octave%type_pkg[oct]-interpreter, libproj19-shlibs << Conflicts: octave-forge Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(b1f1e7470606053da21bb7c66d5c82380299f8ed9a4d6de3e07647ac0e2d6cd9) SourceDirectory: %type_pkg[forge] NoSetCPPFLAGS: true NoSetLDFLAGS: true UseMaxBuildJobs: false BuildAsNobody: false SetCPPFLAGS: -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H 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: << 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. << <<