Differences between revisions 13 and 14
Revision 13 as of 2014-04-14 20:17:17
Size: 1227
Editor: nomeata
Revision 14 as of 2014-06-13 19:37:52
Size: 1209
Editor: ?HelmutGrohne
Comment: fix git link to one that works (at least if you have an alioth account)
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
git clone https://alioth.debian.org/anonscm/git/pkg-haskell/tools.git; cd tools/template-debian git clone git.debian.org:/git/pkg-haskell/tools.git; cd tools/template-debian


You can find a template for a standard cabalized package got from Hackage here. Most of Haskell packages can be obtained simply by copying this directory in debian/ in your source package and then filling in the gaps (of course, this doesn't take away from you the responsability of testing, checking with lintian, building under a chroot, ... your package). You can obtain this template directory using git:

git clone git.debian.org:/git/pkg-haskell/tools.git; cd tools/template-debian


'Build-Depends' need not include the packages provided by ghc6. The list of such packages can be obtained with

apt-cache show ghc | grep '^Provides:'


apt-cache show ghc | sed -n '/^Provides:/ {s/^Provides: //; s/, /\n/g; p}' | sed -r 's/-[-.0-9a-f]*$//' | sort -u

Each (build-)dependency should be on a line of its own -- this makes diffs easier to read.

Remember to check the build dependencies using pbuilder (or cowbuilder, or debomatic, or somthing equivalent).


Check http://dep.debian.net/deps/dep5/.