X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=3b76b940ce12086b96b410823568f6deaf672c03;hb=21df36b8215e66ff6a1f66de5418660dc032df99;hp=58c33328fb8eec1aea378294862c3df1cc79cc5c;hpb=b6c36823403e5d8711fff388ba04c48d3073904a;p=debian%2Fdebian-policy.git diff --git a/perl-policy.sgml b/perl-policy.sgml index 58c3332..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 @@ -294,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.

@@ -316,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)