Table of Contents
Table of Contents
Table of Contents
ABSTRACT — —
Mixed Content Model | ||
ABSTRACT ::= ( #PCDATA ) | ||
Attributes | ||
None |
AUTHOR — —
Mixed Content Model | ||
AUTHOR ::= ( #PCDATA ) | ||
Attributes | ||
None |
CODEBASE — —
Content Model | ||
CODEBASE ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
FILENAME | CDATA | #IMPLIED |
HREF | CDATA | #REQUIRED |
DEPENDENCY — —
Content Model | ||
DEPENDENCY ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VERSION | CDATA | #IMPLIED |
NAME | CDATA | #REQUIRED |
IMPLEMENTATION — — describe a particular implementation of the Perl Package
INSTALL — — provide either a reference to an installation script
Mixed Content Model | ||
INSTALL ::= ( #PCDATA ) | ||
Attributes | ||
Name | Type | Default |
HREF | CDATA | #IMPLIED |
EXEC | CDATA | #IMPLIED |
Used to provide either a reference to an installation script or a series of commands which can be used to install the Perl Package once it has been retrieved. If the EXEC attribute is not specified, the value is assumed to be one or more commands, separated by `;;'. Each such command will be executed by the Perl `system()'function. Only one instance should be present.
LANGUAGE — —
Content Model | ||
LANGUAGE ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VALUE | CDATA | #REQUIRED |
LICENSE — —
Content Model | ||
LICENSE ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
HREF | CDATA | #REQUIRED |
OS — — the operating system required for this implementation
Content Model | ||
OS ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VALUE | CDATA | #REQUIRED |
OSVERSION — — the required version of the operating system
Content Model | ||
OSVERSION ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VALUE | CDATA | #REQUIRED |
PERLCORE — — the minimum version of the Perl core distribution
Content Model | ||
PERLCORE ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VERSION | CDATA | #REQUIRED |
PROCESSOR — —
Content Model | ||
PROCESSOR ::= EMPTY | ||
Attributes | ||
Name | Type | Default |
VALUE | CDATA | #REQUIRED |
SOFTPKG — — root element of a description of a software package
Element Content Model | ||
SOFTPKG ::= ( ABSTRACT | AUTHOR | IMPLEMENTATION | LICENSE | TITLE )* | ||
Attributes | ||
Name | Type | Default |
NAME | CDATA | #REQUIRED |
VERSION | CDATA | #IMPLIED |
TITLE — — state the title of the Perl Package
Mixed Content Model | ||
TITLE ::= ( #PCDATA ) | ||
Attributes | ||
None |
UNINSTALL — — provide either a reference to an uninstallation script
Mixed Content Model | ||
UNINSTALL ::= ( #PCDATA ) | ||
Attributes | ||
Name | Type | Default |
HREF | CDATA | #IMPLIED |
EXEC | CDATA | #IMPLIED |
Used to provide either a reference to an uninstallation script or a raw Perl script which can be used to uninstall the Perl Package at a later point. Only one instance should be present.
Table of Contents
Example sample.ppd —
<?xml version="1.0"?> <!DOCTYPE SOFTPKG SYSTEM "ppd.dtd"> <!-- The following is a sample PPD file describing the Math-MatrixBool module. Note that this may not be a current/proper description of this module and is for sample purposes only. --> <SOFTPKG NAME="Math-MatrixBool" VERSION="4,2,0,0"> <TITLE>Math-MatrixBool</TITLE> <ABSTRACT>Easy manipulation of matrices of booleans (Boolean Algebra)</ABSTRACT> <AUTHOR>Steffen Beyer (sb@sdm.de)</AUTHOR> <LICENSE HREF="http://www.ActiveState.com/packages/Math-MatrixBool/license.html" /> <IMPLEMENTATION> <OS VALUE="WinNT" /> <OS VALUE="Win95" /> <PROCESSOR VALUE="x86" /> <CODEBASE HREF="http://www.ActiveState.com/packages/Math-MatrixBool/Math-MatrixBool-4.2-bin-1-Win32.tar.gz" /> <DEPENDENCY NAME="Bit-Vector" /> <INSTALL> </INSTALL> <UNINSTALL> </UNINSTALL> </IMPLEMENTATION> <IMPLEMENTATION> <DEPENDENCY NAME="Bit-Vector" /> <CODEBASE HREF="&CPAN;/CPAN/modules/by-module/Math/Math-MatrixBool-4.2.tar.gz" /> <INSTALL> system("make"); ;; system("make test"); ;; system("make install"); ;; </INSTALL> </IMPLEMENTATION> </SOFTPKG>