use ExtUtils::MakeMaker;
use File::Copy;
if ($^V lt v5.10) {
die("Algorithm::KMeans has only been tested on Perl 5.10.0.\n" .
"Your perl version is $].\n");
}
copy("perl/MANIFEST.perl","MANIFEST");
WriteMakefile(
NAME => 'Algorithm::KMeans',
VERSION_FROM => 'lib/Algorithm/KMeans.pm',
PREREQ_PM => { Math::Random => '0.71',
Graphics::GnuplotIF => '1.4',
},
AUTHOR => 'Avinash Kak (kak@purdue.edu)',
ABSTRACT => 'A pure-Perl implementation of K-Means Clustering',
clean => {FILES => join(" ",
map { "$_ */$_ */*/$_" }
qw( *% *.html *.b[ac]k *.old *.orig ) )
},
);