| 1 | 1 | ▶ | use alienfile; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | 1 | plugin 'Probe::CommandLine' => ( | |||||||||
| 4 | command => 'gperf', | ||||||||||
| 5 | args => ['--version'], | ||||||||||
| 6 | match => qr/GNU gperf/, | ||||||||||
| 7 | ); | ||||||||||
| 8 | |||||||||||
| 9 | |||||||||||
| 10 | 1 | ▶ | share { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=6.9
| |||||||||||
| 11 | 1 | requires 'Alien::autoconf' => '0.03'; | |||||||||
| 12 | 1 | requires 'Alien::m4' => '0.11'; | |||||||||
| 13 | |||||||||||
| 14 | 1 | ▶ | meta->prop->{env}->{PERL} = $^X unless $^O eq 'MSWin32'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | |||||||||||
| 16 | |||||||||||
| 17 | 1 | plugin Download => ( | |||||||||
| 18 | url => 'https://ftp.gnu.org/gnu/gperf/', | ||||||||||
| 19 | filter => qr/^gperf-.*\.tar\.gz$/, | ||||||||||
| 20 | version => qr/([0-9\.]+)/, | ||||||||||
| 21 | ); | ||||||||||
| 22 | |||||||||||
| 23 | 1 | plugin Extract => 'tar.gz'; | |||||||||
| 24 | |||||||||||
| 25 | 1 | plugin 'Build::MSYS' => (); | |||||||||
| 26 | 1 | plugin 'Build::Autoconf' => (); | |||||||||
| 27 | |||||||||||
| 28 | 1 | build [ | |||||||||
| 29 | '%{configure}', | ||||||||||
| 30 | '%{make}', | ||||||||||
| 31 | '%{make} install', | ||||||||||
| 32 | ]; | ||||||||||
| 33 | |||||||||||
| 34 | 1 | plugin 'Gather::IsolateDynamic' => (); | |||||||||
| 35 | 1 | }; | |||||||||