~ubuntu-branches/ubuntu/raring/haskell-devscripts/raring

11.2.1 by Joachim Breitner, Kari Pahula, Joachim Breitner
[ Kari Pahula ]
1
=head1 NAME
2
3
dh_haskell_provides - calculates Haskell virtual package names on Cabalized libraries
4
5
=head1 SYNOPSIS
6
7
B<dh_haskell_provides> [S<I<debhelper options>>]
8
[B<-X>I<package>]
9
[B<--exclude=>I<package>]
10
[S<I<file>> ...]
11
12
=head1 DESCRIPTION
13
14
dh_haskell_provides is a debhelper program that calculates the correct virtual
15
package to provide, so that dependencies can guarantee ABI stability.
16
17
For a package with an idea of package-version-longhashstring, it generates a
11.2.2 by Joachim Breitner, Marco Silva, Joachim Breitner
[ Marco Silva ]
18
virtual package of the form libghc-package-dev-version-longh for the -dev
19
package and libghc-package-prof-version-longh for the prof package
11.2.1 by Joachim Breitner, Kari Pahula, Joachim Breitner
[ Kari Pahula ]
20
respectively.
21
22
This script writes the debian/$package.substvars file, including in it the
23
haskell:Provides.  So, to use this package, include in the Provides: field in
24
debian/control ${haskell:Provides}.
25
26
=head1 SEE ALSO
27
18 by Marco TĂșlio Gontijo e Silva
dh_haskell_depends: Only include packages in substvars if they exist
28
L<dh_haskell_depends(1)>
11.2.1 by Joachim Breitner, Kari Pahula, Joachim Breitner
[ Kari Pahula ]
29
L<dh_haskell_shlibdeps(1)>
30
L<debhelper(7)>
31
32
=head1 AUTHOR
33
34
Joachim Breitner <nomeata@debian.org>
35
36
Based on ideas in dh_ocaml.