On Tue, 9 Dec 2008, Markus Dittrich wrote:
"Andrey G. Grozin" <[email protected]> writes:
How to install this as an octave package? Perhaps, octave-forge.eclass can
be used? Should I hack the mathgl ebuild so that it does this octave
installation (when USE=octave)? Or, maybe, there should be a separate
octave-mathgl ebuild (perhaps, inheriting octave-forge) which depends on
mathgl[octave]?
This looks pretty much like a generic octave-forge package as far as
I can tell. Simply renaming one of the octave-forge ebuilds
in the overlay should probably work out of the box.
Yes, thanks, this works for me. But the problem is: mathgl.tar.gz is a
generated file (it is actually a target in the mathgl's Makefile). It can
be different on different systems (at least, the directory name
i686-pc-linux-gnu-api-v32 will be different). So, it cannot have a fixed
checksum. Is it possible to write some octave-forge-* like ebuild which
will take /usr/share/mathgl/octave/mathgl.tar.gz and install it into
/usr/share/octave/packages/ without checking checksums etc.?
Andrey