Module::Build::IkiWiki - Extension for develop Ikiwiki plugins
This document describes Module::Build::IkiWiki version 0.0.2
#!/usr/bin/perl use Module::Build::IkiWiki; my $build = Module::Build::IkiWiki->new( module_name => 'xxxx', license => 'gpl', ... ikiwiki_paths => { 'templates' => q(/usr/share/ikiwiki/templates), 'css' => q(/usr/share/ikiwiki/basewiki), }, ikiwiki_templates => [ glob('extras/*.tmpl') ], ikiwiki_stylesheets => [ glob('extras/*.css') ], ); $build->create_build_script();
The goal of this module is build and install IkiWiki plugins in Perl, subclassing the Module::Build and adding some extra funcionalites to it.
For a description of the interface see Module::Build::API.
This is a list of a new parameters in the Module::Build::new method:
Define the install paths of the components using a hash with the following keys:
The default value is /usr/share/ikiwiki/templates.
The default value is /usr/share/ikiwiki/basewiki.
List of templates for install.
List of css stylesheets files to install.
Override the new method in the base class and check the special parameters for ikiwiki.
Install the template and css files of the package.
Show the install actions to the standard output.
The error messages are from the base class. This package don't generate any exceptions.
Module::Build::IkiWiki requires no configuration files or environment variables.
None reported.
No bugs have been reported.
Please report any bugs or feature requests to bug-module-build-ikiwiki@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-module-build-ikiwiki@rt.cpan.org
Víctor Moral <victor@taquiones.net>
Copyright (C) 2008 <Victor Moral>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Víctor'. Assuming CP1252
To install Module::Build::IkiWiki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Build::IkiWiki
CPAN shell
perl -MCPAN -e shell install Module::Build::IkiWiki
For more information on module installation, please visit the detailed CPAN module installation guide.