[Opensrf-commits] r1396 - branches/sboyette/src/perl
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Aug 8 16:12:52 EDT 2008
Author: sboyette
Date: 2008-08-08 16:12:49 -0400 (Fri, 08 Aug 2008)
New Revision: 1396
Modified:
branches/sboyette/src/perl/Makefile.PL
Log:
changing Makefile.PL to M::I from EU:MM
Modified: branches/sboyette/src/perl/Makefile.PL
===================================================================
--- branches/sboyette/src/perl/Makefile.PL 2008-08-07 21:01:26 UTC (rev 1395)
+++ branches/sboyette/src/perl/Makefile.PL 2008-08-08 20:12:49 UTC (rev 1396)
@@ -1,16 +1,15 @@
-use strict;
-use warnings;
-use ExtUtils::MakeMaker;
+use inc::Module::Install;
-WriteMakefile(
- NAME => 'OpenSRF',
- AUTHOR => 'Equinox <foo at esilibrary.com>',
- VERSION_FROM => 'lib/OpenSRF.pm',
- ABSTRACT_FROM => 'lib/OpenSRF.pm',
- PL_FILES => {},
- PREREQ_PM => {
- 'Test::More' => 0,
- },
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'OpenSRF-*' },
-);
+# Define metadata
+name 'OpenSRF';
+all_from 'lib/OpenSRF.pm';
+abstract '';
+
+# Specific dependencies
+requires 'File::Spec' => '0.80';
+test_requires 'Test::More' => '0.42';
+recommends 'Text::CSV_XS'=> '0.50';
+no_index 'directory' => 'demos';
+install_script 'myscript';
+
+WriteAll;
More information about the opensrf-commits
mailing list