Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] GODI news
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain.Frisch@e...
Subject: Re: [Caml-list] GODI news
On Tue, 2 Dec 2003, Benjamin Geer wrote:

> I'd love to, but I can't find a document that explains how to do that.
> I've read the README.devel, but it's not clear to me which parts of it
> are talking about the development of GODI itself, and which parts are
> explaining how to make a GODI package.  There's a section called 'What
> to put in the Makefile' that looks relevant, but I'm wondering:  Which
> Makefile?  What do I need besides a Makefile?

Of course, Gerd will be able to provide a better answer himself, but here
is what I learnt.

You're responsible for the whole build directory except the work/
subdirectory (cf "The build directory in detail" in README.devel). AFAIK,
all the information in README.devel are relevant to make a GODI package (I
cannot see anything about the developement of GODI itself in this file).

I suggest to start from an existing package of the "same shape". For
instance, if you want to package a library which is a binding to a C
library which may need to be installed, you can start from the pcre
packages (conf-pcre, base-pcre, godi-pcre). If the library is pure OCaml,
you can start from godi-pxp. If the library needs the OCaml sources,
start from godi-wlex.

You'll need to do "bmake makesums" in you fresh build directory to
generate checksums for the files to be downloaded.

You can test your new package with godi_console by adding a line to the
file available.current, before sending the .tgz file to Gerd.


-- Alain

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners