3 use ExtUtils::MakeMaker;
6 eval { require Config };
7 die 'OS unsupported' if $@;
8 Config->import(qw/%Config/);
12 @sigs{split ' ', $Config{sig_name}} = ();
15 print "Checking if you have SIG$_... ";
16 unless (exists $sigs{$_}) {
18 die 'OS unsupported' if $@;
23 my $BUILD_REQUIRES = {
27 'ExtUtils::MakeMaker' => 0,
33 my $tometa = ' >> $(DISTVNAME)/META.yml;';
34 my $build_req = 'echo "build_requires:" ' . $tometa;
35 foreach my $mod ( sort { lc $a cmp lc $b } keys %$BUILD_REQUIRES ) {
36 my $ver = $BUILD_REQUIRES->{$mod};
37 $build_req .= sprintf 'echo " %-30s %s" %s', "$mod:", $ver, $tometa;
43 NAME => 'IPC::MorseSignals',
44 AUTHOR => 'Vincent Pit <perl@profvince.com>',
46 VERSION_FROM => 'lib/IPC/MorseSignals.pm',
47 ABSTRACT_FROM => 'lib/IPC/MorseSignals.pm',
50 'Bit::MorseSignals' => 0,
57 PREOP => 'pod2text lib/IPC/MorseSignals.pm > $(DISTVNAME)/README; '
59 COMPRESS => 'gzip -9f', SUFFIX => 'gz',
61 clean => { FILES => 'IPC-MorseSignals-*' },