+++ /dev/null
-use Module::Build;
-
-use strict;
-
-my $build = Module::Build->new(
- module_name => 'Algorithm::C3',
- license => 'perl',
- requires => {
- 'Carp' => '0.01',
- },
- optional => {},
- build_requires => {
- 'Test::More' => '0.47',
- },
- recursive_test_files => 1,
- add_to_cleanup => [
- 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
- ],
-);
-
-$build->create_build_script;
-
--- /dev/null
+use strict;
+use warnings FATAL => 'all';
+use 5.006;
+use ExtUtils::MakeMaker;
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
+my %BUILD_DEPS = (
+ 'Test::More' => 0.47,
+);
+
+# have to do this since old EUMM dev releases miss the eval $VERSION line
+my $mymeta = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_02;
+my $mymeta_works = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_07;
+
+WriteMakefile(
+ NAME => 'Algorithm::C3',
+ VERSION_FROM => 'lib/Algorithm/C3.pm',
+ PREREQ_PM => {
+ 'Carp' => 0.01,
+ ($mymeta_works ? () : (%BUILD_DEPS)),
+ },
+ $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
+ ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
+
+ -f 'META.yml' ? () : (META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ # r/w: gitmo@git.shadowcat.co.uk:Algorithm-C3.git
+ repository => {
+ url => 'git://git.shadowcat.co.uk/gitmo/Algorithm-C3.git',
+ web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Algorithm-C3.git',
+ type => 'git',
+ },
+ bugtracker => {
+ mailto => 'bug-Algorithm-C3@rt.cpan.org',
+ web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-C3',
+ },
+ },
+ }),
+);
+++ /dev/null
-Algorithm::C3 version 0.08
-===========================
-
-See the individual module documentation for more information
-
-INSTALLATION
-
-To install this module type the following:
-
- perl Makefile.PL
- make
- make test
- make install
-
-DEPENDENCIES
-
-This module requires these other modules and libraries:
-
- Carp
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2006 Infinity Interactive, Inc.
-
-http://www.iinteractive.com
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
--- /dev/null
+BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
+use lib 'Distar/lib';
+use Distar;
+use ExtUtils::MakeMaker 6.68 ();
+
+author [
+ 'Stevan Little <stevan@iinteractive.com>',
+ 'Brandon L. Black <blblack@gmail.com>',
+];
+
+1;