X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=3b76b940ce12086b96b410823568f6deaf672c03;hb=0657d7bbc96bd322cc798968cd2065b6465add0a;hp=ef1fbe64c479bb31637e785d27d4ede211345c95;hpb=2fdeafc062ea4d5701de2e1a89b53d7278d893db;p=debian%2Fdebian-policy.git
diff --git a/perl-policy.sgml b/perl-policy.sgml
index ef1fbe6..3b76b94 100644
--- a/perl-policy.sgml
+++ b/perl-policy.sgml
@@ -1,4 +1,8 @@
-
+
+ %versiondata;
+]>
@@ -14,7 +18,7 @@
The Debian Policy mailing list
debian-policy@lists.debian.org
- version 1.20
+ version &version;, &date;
This document describes the packaging of Perl within the Debian
@@ -89,8 +93,11 @@
The perl-base package must provide
- perlapi-version for all released
- versions it is compatible with.
+ perlapi-abiname for all released
+ package versions it is compatible with. The choice of
+ abiname is arbitrary, but if it differs from
+ $Config{version}, it must be specified in
+ $Config{debian_abi}.
@@ -291,10 +298,17 @@ make install
Module Package Names
Perl module packages should be named for the primary module
- provided. The naming convention for module Foo::Bar
- is libfoo-bar-perl. Packages which include
- multiple modules may additionally include provides for those
- modules using the same convention.
+ provided. The naming convention is to lowercase the Perl module
+ name, prepend, lib, change all occurrences
+ of :: to -, and append -perl. For
+ example:
+
+Foo::Bar libfoo-bar-perl
+Foo::Bar::Baz libfoo-bar-baz-perl
+Foo::BarBaz libfoo-barbaz-perl
+
+ Packages which include multiple modules may additionally include
+ provides for the additional modules using the same convention.
@@ -313,7 +327,7 @@ $(MAKE) OPTIMIZE="-O2 -g -Wall"
and this one to install the results into the temporary tree:
-$(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr
+$(MAKE) install DESTDIR=$(CURDIR)/debian/<tmp>
Replace <tmp> with the appropriate directory
(nominally just tmp)
@@ -348,8 +362,9 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr
a minimum version of the perl package
used to build the module, and must additionally depend on
the expansion of
- perlapi-$Config{version} using
- the Config module.
+ perlapi-$Config{debian_abi} using
+ the Config module. If $Config{debian_abi}
+ is empty or not set, $Config{version} must be used.