Commits

Anonymous committed affb927

Converted to Build.PL

  • Participants
  • Parent commits 85b698d

Comments (0)

Files changed (4)

+use strict;
+use warnings;
+
+use Module::Build;
+
+my $builder = Module::Build->new(
+    module_name         => 'WWW::OpenSVN',
+    license             => 'mit',
+    dist_author         => 'Shlomi Fish <shlomif@iglu.org.il>',
+    requires => 
+    {
+        'LWP::UserAgent' => 0,
+    },
+    build_requires =>
+    {
+        'Test::More' => 0,
+    },
+    add_to_cleanup      => [ 'WWW-OpenSVN-*' ],
+    create_makefile_pl => 'traditional',
+    meta_add => {
+        resources => {
+            homepage => "http://web-cpan.berlios.de/modules/WWW-OpenSVN/",
+            license => "http://en.wikipedia.org/wiki/MIT_License",
+            Repository => "http://svn.berlios.de/svnroot/repos/web-cpan/www-opensvn/",
+        },
+    },
+);
+
+$builder->create_build_script();
 Revision history for WWW-OpenSVN
 
+0.1.3
+    - Converted to Build.PL.
+
 0.1.2    2005-05-08
     - First CPAN Version.
 
+Build.PL
 Changes
+lib/WWW/OpenSVN.pm
+Makefile.PL
 MANIFEST
 META.yml # Will be created by "make dist"
-Makefile.PL
 README
-lib/WWW/OpenSVN.pm
 t/00-load.t
+TODO
 t/pod.t
-TODO

Perl/Makefile.PL

-use strict;
-use warnings;
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
-    NAME                => 'WWW::OpenSVN',
-    AUTHOR              => 'Shlomi Fish <shlomif@iglu.org.il>',
-    VERSION_FROM        => 'lib/WWW/OpenSVN.pm',
-    ABSTRACT_FROM       => 'lib/WWW/OpenSVN.pm',
-    PL_FILES            => {},
-    PREREQ_PM => {
-        'Test::More' => 0,
-        'LWP' => 0,
-    },
-    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
-    clean               => { FILES => 'WWW-OpenSVN-*' },
-);
-