"Andrey G. Grozin" <[email protected]> writes:
> 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

Maybe, instead of moving mathgl.tar.gz onto the live filesystem
we should just install the octave_forge like package via the
octave_forge.eclass when we build and install mathgl itself 
(via a useflag). I am not sure at the moment if the 
octave_forge.eclass is organized in a way that allows
this, but it could probably be done by re-arranging some bits
in the eclass. I'll check.

Best,
Markus


-- 
-- 
Markus Dittrich (markusle)
Gentoo Linux Developer
Scientific applications

Attachment: pgprG2JNp6TWd.pgp
Description: PGP signature

Reply via email to