I'm looking at including SPM12 as part of NeuroFedora. It's primarily
written for Matlab, but it works on Octave as well. SPM upstream also
works with Octave upstream to improve Matlab compatibility etc.
Unfortunately, as a more Matlab centric package, SPM is not set up to be
set up to be installed as an Octave package like ones hosted at Octave
forge. Currently, one simply runs `make && make install` in the src
directory anywhere on one's system, and then either uses the
"spm12-octave" script to run the "standalone" version of SPM, or runs it
from octave using "addpath (/path/to/spm12/build)". The source does not
contain the required files to use `pkg build, pkg install` etc. as the
template spec and octave macros suggest.
So, how should one approach this?
- Should I stick to `make && make install` and then manually install the
files (so, not use `pkg ...` at all)?
* If so, where should the files be installed? Should they be installed
in the standard octave directories, or in the general FHS locations?
- Should I add the bits to make it a package (locally in the spec), and
then use the rpm macros (and so treat it like a standard octave
package)? This will need a little bit of work downstream, and
upstream will most likely not accept these Octave specific bits.
Ankur Sinha "FranciscoD"
Time zone: Europe/London