diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-03 14:00:22 -0800 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-01-03 14:00:22 -0800 |
commit | 792eeecfec9b9b30101fa5c791554b6affb5f0d0 (patch) | |
tree | d3e835deef556269479be29e596a01e110ebc825 /Build.PL | |
parent | update .gitignore (diff) | |
download | jitterbug-792eeecfec9b9b30101fa5c791554b6affb5f0d0.tar.gz |
Convert jitterbug to use Module::Build
Jitterbug now uses Module::Build, mostly so that "./Build installdeps" can be used to install all Jitterbug dependencies. The README has been updated to document the new installation process. A Makefile.PL is still generated for backcompat.
Diffstat (limited to '')
-rw-r--r-- | Build.PL | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..d00ce57 --- /dev/null +++ b/Build.PL @@ -0,0 +1,39 @@ +use strict; +use warnings; +use Module::Build; + +my $builder = Module::Build->new( + module_name => 'jitterbug', + license => 'perl', + dist_author => 'franck cuny <franck@lumberjaph.net>', + dist_abstract => 'Perl smoker that uses Dancer and git', + dist_version_from => 'lib/jitterbug.pm', + include_dirs => '', + build_requires => { + 'Test::More' => 0, + }, + requires => { + 'YAML' => 0, + 'Dancer' => 1.1810, + 'XML::Feed' => 0, + 'DateTime' => 0, + 'JSON' => 0, + 'Git::Repository' => 0, + 'YAML' => 0, + 'Dancer::Template::Xslate' => 0, + 'Dancer::Plugin::DBIC' => 0, + 'DBIx::Class' => 0, + 'SQL::Translator' => 0, + 'Digest::MD5' => 0, + }, + add_to_cleanup => [ 'jitterbug-' ], + create_makefile_pl => 'traditional', + meta_merge => { + resources => { + repository => 'http://github.com/franckcuny/jitterbug/tree/master' + }, + }, +); + +$builder->create_build_script(); +print "Have a great day!\n"; |