source: template/template-perl-module.xml@ bc784a2

perl-modules
Last change on this file since bc784a2 was bc784a2, checked in by Ken Moffat <ken@…>, 6 years ago

perl modules branch: Next batch of modules. In particular, drop the no-longer-used IPv6 deps from Try::Tiny and update the runtime depen dency for URI to HTTP::Message.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/perl-modules@20500 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!-- for modules referenced outside of perl, put them in general/prog/perl-modules/
8 and use a link to &perl_authors;/id/X/XY/XYZZY/Fu-Bar-$Fu-Bar-version; -->
9 <!ENTITY my-download-http "&perl_authors;/id/X/XY/XYZZY/Fu-Bar-&Fu-Bar-version;.tar.gz">
10 <!-- but for modules which are only dependencies of other modules, put them in
11 general/pprog/perl-deps with a link to &metacpan_authors; that includes the /id part -->
12 <!ENTITY my-download-http "&metacpan_authors;/X/XY/XYZZY/Fu-Bar-&Fu-Bar-version;.tar.gz">
13 <!-- only one of the above choices -->
14 <!ENTITY my-md5sum "fix-me-please-editor-0cc7774186c">
15
16]>
17
18 <!-- Begin Fu::Bar -->
19 <sect2 id="new-perl-fu-bar" xreflabel="Fu-Bar-&Fu-Bar-version;">
20
21 <title>Fu::Bar-&Fu-Bar-version;</title>
22
23 <indexterm zone="new-perl-fu-bar">
24 <primary sortas="a-Fu-Bar">Fu::Bar</primary>
25 </indexterm>
26
27 <sect3 role="package">
28 <title>Introduction to Fu::Bar</title>
29
30 <para>
31 Fu::Bar does something.
32 </para>
33
34<!-- &lfs8x_checked; -->
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&my-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download MD5 sum: &my-md5sum;
46 </para>
47 </listitem>
48 </itemizedlist>
49
50 <!-- omit dependencies if not needed.
51 If module A currently brings in the required dep of B, add a comment that
52 B is pulled in by A. This is to keep it maintainable as deps change. -->
53 <bridgehead renderas="sect4">Fu::Bar Dependencies</bridgehead>
54
55 <bridgehead renderas="sect5">Required</bridgehead>
56 <para role="required">
57 <xref linkend="perl-bar-baz"/>,
58 <!-- perl-bar-baz pulls in perl-mojotasticity for the testsuite -->
59 <xref linkend="perl-wibble"/> and
60 <xref linkend="new-perl-wobble"/>
61 </para>
62
63 </sect3>
64
65 <sect3 role="installation">
66 <title>Installation of Fu::Bar</title>
67
68<!-- Any specific action for the module (patches, etc) should come first -->
69<!-- If the module uses standard installation instructions: -->
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../../../xincludes/perl-standard-install.xml"/>
72
73<!-- If the module uses installation instructions using Build.PL: -->
74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
75 href="../../../xincludes/perl-build-install.xml"/>
76
77 </sect3>
78
79 <!-- omit content unless prog(s) or lib is installed in /usr -->
80 <sect3 role="content">
81 <title>Contents</title>
82
83 <segmentedlist>
84 <segtitle>Installed Programs</segtitle>
85 <!-- omit libraries entirely unless present in /usr, there are often
86 perl libraries in site-perl so 'none' can be misleading -->
87 <segtitle>Installed Libraries</segtitle>
88
89 <seglistitem>
90 <seg>
91 dibbler
92 </seg>
93 </seglistitem>
94 </segmentedlist>
95
96 <variablelist>
97 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
98 <?dbfo list-presentation="list"?>
99 <?dbhtml list-presentation="table"?>
100
101 <varlistentry id="dibbler-prog">
102 <term><command>dibbler</command></term>
103 <listitem>
104 <para>sells sausage inna bun.</para>
105 <!-- the -prog is for while (old) and new- perl module pages
106 are both in the book, without it the link to the package is
107 correct, but the link to the prog goes to the progs in old
108 perl-modules.xml -->
109 <indexterm zone="new-perl-fu-bar dibbler-prog">
110 <primary sortas="b-dibbler">dibbler</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 </variablelist>
116
117 </sect3>
118
119 </sect2>
Note: See TracBrowser for help on using the repository browser.