Differences between revisions 14 and 15
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)
Revision 15 as of 2015-08-14 15:18:59
Size: 0
Editor: nomeata
Comment: obsolete
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= PackageTemplate =

You can find a template for a standard cabalized package got from Hackage [[http://anonscm.debian.org/gitweb/?p=pkg-haskell/tools.git;a=tree;f=template-debian|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

== debian/control ==

'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).

== debian/copyright ==

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