added resources to META.yml
[MARC-Fast] / Makefile.PL
1 use ExtUtils::MakeMaker;
2 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3 # the contents of the Makefile that is written.
4 WriteMakefile(
5     NAME         => 'MARC::Fast',
6     VERSION_FROM => 'lib/MARC/Fast.pm', # finds $VERSION
7     AUTHOR       => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
8     ABSTRACT     => '',
9     PREREQ_PM    => {
10         'Test::Simple' => 0.44,
11         'Data::Dump' => 0,
12         'Carp' => 0,
13     },
14     META_MERGE => {
15         resources => {
16             license => 'http://www.gnu.org/licenses/gpl-2.0.html',
17             bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=MARC-Fast',
18             repository => 'http://github.com/dpavlin/MARC-Fast'
19         },
20     },
21 );
22
23 sub MY::postamble {
24         return <<'MAKE_MORE';
25
26 changelog:
27         git log > Changes
28
29 cpan:
30         make clean
31         rm -f MARC-Fast-*.tar.gz
32         perl Makefile.PL
33         make changelog
34         make dist
35         make disttest
36         @echo
37         @echo -n "Upload" MARC-Fast-*.tar.gz "to CPAN? [y/N]:"
38         @read upload && test "$$upload" == "y" && cpan-upload -verbose MARC-Fast-*.tar.gz
39
40 MAKE_MORE
41 }