| 1 | use 5.014000; |
| 2 | use ExtUtils::MakeMaker; |
| 3 | |
| 4 | my $packed_nr = "\x00\x00\x00\x00\x00\xBC\x61\x4E"; |
| 5 | my $unpacked_nr = eval { unpack 'Q>', $packed_nr }; |
| 6 | $unpacked_nr == 12345678 || die "Failed to unpack quad, this Perl does not support 64-bit integers. Bailing out. Error '$!'\n"; |
| 7 | |
| 8 | WriteMakefile( |
| 9 | NAME => 'Slob', |
| 10 | VERSION_FROM => 'lib/Slob.pm', |
| 11 | ABSTRACT_FROM => 'lib/Slob.pm', |
| 12 | AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>', |
| 13 | MIN_PERL_VERSION => '5.14.0', |
| 14 | LICENSE => 'perl', |
| 15 | SIGN => 1, |
| 16 | PREREQ_PM => { |
| 17 | qw/Compress::Raw::Bzip2 0 |
| 18 | Compress::Raw::Lzma 0 |
| 19 | Compress::Raw::Zlib 0/, |
| 20 | }, |
| 21 | META_ADD => { |
| 22 | dynamic_config => 0, |
| 23 | resources => { |
| 24 | repository => 'https://git.ieval.ro/?p=slob.git', |
| 25 | }, |
| 26 | } |
| 27 | ); |