| 1 | 1 | ▶ | use alienfile; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | #plugin 'Probe::CommandLine' => ( | ||||||||||
| 4 | # command => 'help2man', | ||||||||||
| 5 | # args => ['--version'], | ||||||||||
| 6 | # match => qr/GNU help2man/, | ||||||||||
| 7 | # version => qr/GNU help2man (\S+)/, | ||||||||||
| 8 | #); | ||||||||||
| 9 | |||||||||||
| 10 | # since help2man is written in Perl | ||||||||||
| 11 | # using the system help2man can break | ||||||||||
| 12 | # if you have modules installed. | ||||||||||
| 13 | 0 | ▶ | probe sub { 'share' }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 14 | |||||||||||
| 15 | 1 | ▶ | share { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.0
| |||||||||||
| 16 | 1 | plugin Download => ( | |||||||||
| 17 | url => 'https://ftp.gnu.org/gnu/help2man', | ||||||||||
| 18 | filter => qr/^help2man-.*\.tar\.gz$/, | ||||||||||
| 19 | version => qr/([0-9\.]+)/, | ||||||||||
| 20 | ); | ||||||||||
| 21 | 1 | plugin Extract => 'tar.gz'; | |||||||||
| 22 | 1 | ▶ | plugin 'Build::MSYS' if $^O eq 'MSWin32'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 1 | build [ | |||||||||
| 24 | 'sh ./configure --prefix=%{.install.prefix}', | ||||||||||
| 25 | '%{make}', | ||||||||||
| 26 | '%{make} install', | ||||||||||
| 27 | ]; | ||||||||||
| 28 | 1 | }; | |||||||||