Info2: << Package: mpi-oct%type_pkg[oct] Version: 1.1.1 Type: oct (3.6.4), forge (mpi), gcc (4.8) Revision: 1 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.8, openmpi-dev, fink-octave-scripts << Depends: << octave%type_pkg[oct]-interpreter, openmpi-shlibs << Conflicts: octave-forge Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz Source-MD5: 90ef3b0245efcc93a51e9ccfb8da2d70 SourceDirectory: %type_raw[forge] PatchScript: perl -pi -e 's/mpiCC/mpic++/' src/Makefile # 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: Uses 'mpiCC -showme:link' to get libraries, but that results in a missing symbol due to lack of -lmpi_cxx. Setting LIBS doesn't seem to work with Octave-3.6.0, so patch Makefile to use 'mpic++ -showme:link'. 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. << <<