build script and rules
[perl/file-rewrite.git] / Build.PL
diff --git a/Build.PL b/Build.PL
new file mode 100755 (executable)
index 0000000..44c1b62
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,25 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+
+use Module::Build;
+
+Module::Build->new(
+       module_name => 'File::Rewrite',
+       dynamic_config => 0,
+       license     => 'perl',
+       requires => {
+               'perl' => '5.006', # probably, only 5.8+ tested
+               'autodie' => 0,
+       },
+       build_requires => {
+               'File::Temp' => 0,
+               'Test::NoWarnings' => 0,
+       },
+       meta_merge => {
+               resources => {
+                       repository => 'git://git.shiar.nl/file-rewrite',
+               },
+       },
+)->create_build_script;
+