The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

use ExtUtils::MakeMaker;

WriteMakefile( 
	'VERSION_FROM'	=> 'lib/File/Flock.pm',
	'NAME'		=> 'File::Flock',
	'dist'		=> { COMPRESS=>"gzip", SUFFIX=>"gz" },
	($] >= 5.005 
		?	
			(
				ABSTRACT	=> 'Wrapper for flock() to make file locking trivial',
				AUTHOR		=> 'David Muir Sharnoff <cpan@dave.sharnoff.org>',
				META_MERGE     => {
					resources  => {
						repository => 'http://github.com/muir/File-Flock',
					},
				},
			) 
		: ()
	),
	'PREREQ_PM'	=> {
		'Time::HiRes'	=> 0,
		'IO::Event'	=> 0.812,
		'AnyEvent'	=> 0,
		'Data::Structure::Util' => 0,
	},
	'BUILD_REQUIRES' => {
		'File::Slurp'	=> 0,
		'Time::HiRes'	=> 0,
		'Test::SharedFork'	=> 0,
	},
);

package MY;

sub postamble {
    <<"END_OF_POSTAMBLE";

pm_to_blib: README

README: lib/File/Flock.pm
\tCOLUMNS=80 pod2text lib/File/Flock.pm >README

END_OF_POSTAMBLE
}