1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
#!/usr/bin/perl
use 5.006;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
install_share dist => 'share';
WriteMakefile(
NAME => 'PDF::Create',
VERSION_FROM => 'lib/PDF/Create.pm',
ABSTRACT_FROM => 'lib/PDF/Create.pm',
LICENSE => "perl",
EXE_FILES => [ 'eg/verify-char-width' ],
MIN_PERL_VERSION => 5.006,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
'File::ShareDir::Install' => 0,
},
PREREQ_PM => {
'JSON' => 0,
'Carp' => 0,
'FileHandle' => 0,
'Data::Dumper' => 0,
'Scalar::Util' => 0,
'File::Share' => '0.25',
},
TEST_REQUIRES => {
'Test::More' => '1.00',
'Test::LeakTrace' => '0.14',
'File::Temp' => 0,
},
dist => { COMPRESS => "gzip", SUFFIX => "gz" },
clean => { FILES => 'PDF-Create*' },
META_MERGE => {
'meta-spec' => { version => 2 },
provides => {
'PDF::Create' => { file => 'lib/PDF/Create.pm' , version => '1.46' },
'PDF::Create::Page' => { file => 'lib/PDF/Create/Page.pm' , version => '1.46' },
'PDF::Create::Outline' => { file => 'lib/PDF/Create/Outline.pm', version => '1.46' },
'PDF::Image::GIF' => { file => 'lib/PDF/Image/GIF.pm' , version => '1.46' },
'PDF::Image::JPEG' => { file => 'lib/PDF/Image/JPEG.pm' , version => '1.46' },
'PDF::Font' => { file => 'lib/PDF/Font.pm' , version => '1.46' },
},
resources => {
repository => {
type => 'git',
url => 'http://github.com/manwar/pdf-create.git',
web => 'http://github.com/manwar/pdf-create',
}
}
},
);
package MY;
use File::ShareDir::Install 'postamble';
|