Re: Net_SmartIRC first package.xml
| From: | Stijn de Reede | Date: | Sat, 14 Dec 2002 00:06:27 +0000 |
| Subject: | Re: Net_SmartIRC first package.xml | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11653@lists.php.net to get a copy of this message | ||
As seen in other packages: the main file should be in the directory of the category, all the other files should be in a subdir, with the same name as the main file (without the .php of course). These other files can be further sorted by adding more subdirs in the one subdir.
By putting all the files in Net/SmartIRC, it would seem that SmartIRC is in fact a category of it's own.
I'm pretty new to PEAR too, so please correct me if I'm wrong.
Stijn
Mirco Meebey Bauer wrote:
I decided to put all files in the Net/SmartIRC directory (less problems with includes etc...) so would be these ok?<filelist> <dir baseinstalldir="/Net/SmartIRC"> <file role="php">SmartIRC.inc.php</file> <file role="php">defines.inc.php</file> <file role="doc">example.php</file> <file role="doc">example2.php</file> <file role="doc">CHANGELOG</file> <file role="doc">CREDITS</file> <file role="doc">DOCUMENTATION</file> <file role="doc">README</file> <file role="doc">HOWTO</file> </dir> </filelist>Mirco Bauer aka MEEBEY -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y? ------END GEEK CODE BLOCK------must be <dir name="Net/SmartIRC"> Samples are not part of the code,doc may fit for this purpose: <file role="doc">example.php</file> <file role="doc">example2.php</file> hth pierre<dir name="SmartIRC">