| 1 | #! perl | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use alienfile; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | plugin 'Gather::IsolateDynamic'; | |
| 8 | |||
| 9 | 1 | plugin 'PkgConfig' => ( | |
| 10 | pkg_name => 'cxcregion', | ||
| 11 | ); | ||
| 12 | |||
| 13 | 1 | probe [ 'pkg-config --exists libcxcregion' ]; | |
| 14 | |||
| 15 | 1 | ▶ | share { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 16 | 1 | requires 'Alien::bison'; | |
| 17 | 1 | requires 'Alien::flex' => 0.14; | |
| 18 | |||
| 19 | 1 | start_url 'inc/cxcregion-4.12.0.1.tar.gz'; | |
| 20 | 1 | plugin 'Download'; | |
| 21 | 1 | plugin 'Extract' => 'tar.gz'; | |
| 22 | 1 | plugin 'Build::Autoconf' => ( with_pic => 1 ); | |
| 23 | |||
| 24 | 1 | build [ | |
| 25 | '%{configure}', | ||
| 26 | '%{make}', | ||
| 27 | '%{make} install', | ||
| 28 | ]; | ||
| 29 | 1 | }; | |
| 30 | |||
| 31 | 1 | gather [ | |
| 32 | [ 'pkg-config --modversion libcxcregion', \'%{.runtime.version}' ], | ||
| 33 | [ 'pkg-config --cflags libcxcregion', \'%{.runtime.cflags}' ], | ||
| 34 | [ 'pkg-config --libs libcxcregion', \'%{.runtime.libs}' ], | ||
| 35 | ]; | ||