Hello,
I have a first cut of a template for cabalizing and debianizing haskell libraries. Do a,
darcs get http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate
...and see the terse instructions in INSTRUCTIONS.txt. The instructions assume you already know the basics of cabal and debian.
I have used the template to debianize or cabalize+debianize a few third party libraries for local use, and it only takes 1-2 mins. Of course, for local use I don't bother to update all the descriptions in debian/control, etc.
This version does not generate profiling libraries -- so if we decide that it should, I will add that.
My current plan is something like this:
(1) Get a template hammered out that everyone likes (profiling, etc) (2) Write some newbie friendly documentation for it (3) Publish the docs on the wiki (4) Write an script to automate the template->specific package conversion process.
It is possible that (4) may get moved between (1) and (2) depending on how difficult and desirable it is.
If you have any suggestions or improvements let me know.
j.