From 792eeecfec9b9b30101fa5c791554b6affb5f0d0 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Mon, 3 Jan 2011 14:00:22 -0800 Subject: 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. --- Build.PL | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Build.PL (limited to 'Build.PL') 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 ', + 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"; -- cgit 1.4.1