| 1 | use 5.006000; |
| 2 | use ExtUtils::MakeMaker; |
| 3 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence |
| 4 | # the contents of the Makefile that is written. |
| 5 | |
| 6 | my $mm_version = eval $ExtUtils::MakeMaker::VERSION; |
| 7 | |
| 8 | WriteMakefile( |
| 9 | NAME => 'Socket::MsgHdr', |
| 10 | VERSION_FROM => 'lib/Socket/MsgHdr.pm', # finds $VERSION |
| 11 | PREREQ_PM => {}, # e.g., Module::Name => 1.1 |
| 12 | ABSTRACT_FROM => 'lib/Socket/MsgHdr.pm', |
| 13 | LICENSE => 'perl_5', |
| 14 | AUTHOR => [ 'Mike Pomraning <[email protected]>', 'Felipe Gasper <[email protected]>' ], |
| 15 | ($mm_ver >= 6.31 ? (LICENSE => 'perl') : ()), |
| 16 | LIBS => [''], # e.g., '-lm' |
| 17 | DEFINE => '', # e.g., '-DHAVE_SOMETHING' |
| 18 | INC => '-I.', # e.g., '-I. -I/usr/include/other' |
| 19 | # Un-comment this if you add C files to link with later: |
| 20 | # OBJECT => '$(O_FILES)', # link all the C files too |
| 21 | |
| 22 | META_MERGE => { |
| 23 | 'meta-spec' => { version => 2 }, |
| 24 | resources => { |
| 25 | repository => { |
| 26 | type => 'git', |
| 27 | url => 'git://github.com/FGasper/p5-Socket-MsgHdr.git', |
| 28 | web => 'https://github.com/FGasper/p5-Socket-MsgHdr', |
| 29 | }, |
| 30 | bugtracker => { |
| 31 | web => 'https://github.com/FGasper/p5-Socket-MsgHdr/issues', |
| 32 | }, |
| 33 | }, |
| 34 | }, |
| 35 | ); |