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 = {
28 'ExtUtils::MakeMaker' => 0,
34 my $tometa = ' >> $(DISTVNAME)/META.yml;';
35 my $build_req = 'echo "build_requires:" ' . $tometa;
36 foreach my $mod ( sort { lc $a cmp lc $b } keys %$BUILD_REQUIRES ) {
37 my $ver = $BUILD_REQUIRES->{$mod};
38 $build_req .= sprintf 'echo " %-30s %s" %s', "$mod:", $ver, $tometa;
44 NAME => 'IPC::MorseSignals',
45 AUTHOR => 'Vincent Pit <perl@profvince.com>',
47 VERSION_FROM => 'lib/IPC/MorseSignals.pm',
48 ABSTRACT_FROM => 'lib/IPC/MorseSignals.pm',
51 'Bit::MorseSignals' => 0,
57 PREOP => 'pod2text lib/IPC/MorseSignals.pm > $(DISTVNAME)/README; '
59 COMPRESS => 'gzip -9f', SUFFIX => 'gz',
61 clean => { FILES => 'IPC-MorseSignals-*' },