changelog
[p5sagit/App-FatPacker.git] / Makefile.PL
index 3797a6d..1a4785b 100644 (file)
@@ -1,15 +1,39 @@
 use strict;
 use warnings FATAL => 'all';
-use inc::Module::Install 0.93;
+use ExtUtils::MakeMaker;
 
-all_from('lib/App/FatPacker.pm');
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
-install_script('bin/fatpack');
+WriteMakefile(
+  NAME => 'App::FatPacker',
+  VERSION_FROM => 'lib/App/FatPacker.pm',
 
-resources(
-    # r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git
-    repository => "git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git",
-    homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/App-FatPacker.git',
-);
+  EXE_FILES => [
+    'bin/fatpack',
+  ],
 
-WriteAll;
+  META_MERGE => {
+    'meta-spec' => { version => '2' },
+    dynamic_config => 0,
+    resources => {
+      # r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git
+      repository => {
+        url => 'git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git',
+        web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/App-FatPacker.git',
+        type => 'git',
+      },
+      bugtracker => {
+          mailto => 'bug-App-FatPacker-Metadata@rt.cpan.org',
+          web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker',
+      },
+    },
+    prereqs => {
+      runtime => {
+        requires => {
+          # B::perlstring was added in B 1.01 (perl 5.8.0)
+          perl => '5.008000',
+        },
+      },
+    },
+  },
+);