On Thu, Jun 17, 2004 at 11:06:49AM -0400, Christian Pag? wrote:
> Hi everyone,
> 
> I am quite a newbie in fink devel...
> I want to include a new package in fink, but this package has a 
> .tar.bz2 file which includes a src directory which contains multiple 
> tar.gz files along with corresponding .md5 files. These separate 
> .tar.gz files uncompress each one to a directory containing an src 
> directory.
> 
> How can I deal with that in an .info file?

The Source * and Source*-MD5 fields are only concerned with the actual
thing you download; whether that tarball contains program sources,
other tarballs, other checksums, and/or just a bunch of porn is not
relevant. It's up to your *Script fields to know how to deal with it.

In this case, you could have the PatchScript expand all the enclosed
tarballs, and then the CompileScript go into each one and compile.

If each enclosed thing seems like it should be its own fink package:
you could either have lots of SplitOffs, or have multiple .info files,
each one of which only expanded and compiled one of the enclosed
tarballs. Or maybe there is somewhere that has each enclosed tarball
available for direct and independent downloading (depending on
licensing, fink could host these files also).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to