Hi all, I drafted a CDBS class for OCaml related packages. It does not take care of building anything (which is nearly impossible to do in a standardized way, since every piece of ocaml software out there has a different way of being built ...), but rather takes care of: 1) handling the .in stuff (substituting the @OCamlABI@ stamps in .in files at the right moment during building, cleaning afterwards) 2) passing the arguments do dh_gencontrol so that F:OCamlABI fields in debian/control are filled (this only if the debhelper class is used as well) 3) providing some variables to be used by debian/rules writers (e.g. OCAML_HAVE_OCAMLOPT, OCAML_STDLIB_DIR, ...) The class itself (coming in 2 files) is in trunk/tools/cdbs/ [1]. The bug report asking for inclusion in CDBS is #387299. Some samples of using the class are in trunk/packages/gmetadom/branches/cdbs/ [3] and trunk/packages/netclient/branches/cdbs/ [4]. Comments are very welcome. Cheers. [1] http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/tools/cdbs/?rev=0&sc=0 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387299 [3] http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/gmetadom/branches/cdbs/?rev=0&sc=0 [4] http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/branches/cdbs/?rev=0&sc=0 -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-
Attachment:
signature.asc
Description: Digital signature