summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-03-04 12:22:22 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-03-04 12:22:22 +0100
commit1932c998cac488d6ba27789fea56bcf3a554a35c (patch)
tree39304ac27f408d58095d07634fbba6520efd5d21 /Build.PL
parente1e7a58aa6983261757affa1b146d6ce20742a69 (diff)
Switch from Makefile to Build.PL
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL22
1 files changed, 22 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..4d7399f
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,22 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use Module::Build;
+
+my $build = Module::Build->new(
+ build_requires => {
+ 'Test::Cmd' => 0,
+ 'Test::Compile' => 0,
+ 'Test::More' => 0,
+ 'Test::Pod' => 0,
+ },
+ dist_name => 'comirror',
+ dist_version_from => 'bin/comirror',
+ license => 'unrestricted',
+ requires => {
+ 'perl' => '5.10.0',
+ 'WWW::Mechanize' => 0,
+ },
+);
+$build->create_build_script();