summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-09 16:58:53 +0100
committerYorhel <git@yorhel.nl>2011-01-09 16:58:53 +0100
commitfd6fb180c37372d5cb2171be434cc222b68ecba5 (patch)
tree8642f597da4c3febf521af917b2b2b53ed93a5c9 /Build.PL
parent79894c79083005bd98b5ef19edf4966dd4675ada (diff)
Added Module::Build script
The framework can now easily be installed like any other Perl module.
Diffstat (limited to 'Build.PL')
-rwxr-xr-xBuild.PL23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
new file mode 100755
index 0000000..0793031
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+use Module::Build;
+
+Module::Build->new(
+ dist_name => 'TUWF',
+ dist_version => '0.1',
+ dist_author => 'Yoran Heling <yorhel@cpan.org>',
+ dist_abstract => 'The Ultimate Website Framework',
+ license => 'mit',
+ requires => {
+ 'CGI::Minimal' => 0,
+ perl => '5.10.0',
+ },
+ recommends => {
+ 'PerlIO::gzip' => 0,
+ 'FCGI' => 0,
+ 'DBI' => 0,
+ 'CGI::Cookie::XS' => 0,
+ },
+ create_makefile_pl => 'traditional',
+)->create_build_script;
+