-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalienfile
More file actions
32 lines (25 loc) · 803 Bytes
/
alienfile
File metadata and controls
32 lines (25 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
use alienfile;
plugin 'PkgConfig' => 'libvas';
share {
plugin Download => (
url => 'https://github.com/a3f/libvas/archive/'
. 'master'
. '.tar.gz'
);
plugin Extract => 'tar.gz';
plugin 'Build::CMake';
build [
[ '%{cmake}', @{ meta->prop->{plugin_build_cmake}->{args} },
'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DWITH_PIC=ON',
'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DWITH_PIC=ON',
'-DCMAKE_INSTALL_LIBDIR:PATH=lib', '-DBUILD_MANUAL_TESTS=OFF',
'-DTEST_XPROC=' . qw(OFF ON)[$^O ne 'darwin'],
'.'],
'%{cmake} --build .',
'%{cmake} --build . --target install'
];
test [
'%{cmake} --build . --target test',
];
plugin 'Gather::IsolateDynamic' => ();
};