Info2: << Package: mpi-oct%type_pkg[oct] Version: 1.1.1 Type: oct (3.8.2), forge (mpi), gcc (4.9) Revision: 2 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/openmpi_ext/index.html License: GPL3+ Description: MPI functions for Octave DescDetail: << MPI functions for parallel computing using simple MPI Derived Datatypes. This package provides the following functions: Octave Wrappers for MPI functions: MPI_Barrier MPI_Comm_Load MPI_Comm_Test MPI_Comm_rank MPI_Comm_size MPI_Finalize MPI_Finalized MPI_Get_processor_name MPI_Init MPI_Initialized MPI_Iprobe MPI_Probe MPI_Recv MPI_Send Examples: Pi hello2dimmat hellocell hellosparsemat hellostruct helloworld mc_example montecarlo << BuildDepends: << liboctave%type_pkg[oct]-dev, fftw3, hdf5.9, openmpi (>= 1.5.3-3), fink-octave-scripts (>= 0.3.0-1) << Depends: << octave%type_pkg[oct]-interpreter, openmpi-shlibs (>= 1.5.3-3) << Conflicts: octave-forge Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-Checksum: SHA256(7248c96f95570e4c213e566c622047d53281f63c328b4db81742d6f8b113d375) SourceDirectory: %type_raw[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 if [ $UID -ne 0 ] then echo "%n cannot be built with --build-as-nobody" exit 1 fi pkgsrc=%type_pkg[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, or when the package name contains underscores. << <<