]>
Commit | Line | Data |
---|---|---|
1b7991e2 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = meson | |
e1187e50 | 7 | version = 0.50.1 |
1b7991e2 SS |
8 | release = 1 |
9 | arch = noarch | |
10 | ||
11 | groups = Applications/System | |
12 | url = http://mesonbuild.com/ | |
13 | license = ASL 2.0 | |
14 | summary = High productivity build system | |
15 | ||
16 | description | |
17 | Meson is a build system designed to optimize programmer | |
18 | productivity. It aims to do this by providing simple, out-of-the-box | |
19 | support for modern software development tools and practices, such as | |
20 | unit tests, coverage reports, Valgrind, CCache and the like. | |
21 | end | |
22 | ||
23 | source_dl = https://github.com/mesonbuild/meson/archive/%{version}/ | |
24 | ||
25 | build | |
26 | requires | |
27 | bison | |
28 | boost-devel | |
29 | flex | |
30 | gcc-c++ | |
31 | gettext | |
32 | ninja-build >= 1.5 | |
33 | python3-devel >= 3.5 | |
34 | python3-setuptools | |
35 | end | |
36 | ||
37 | build | |
38 | %{python3} setup.py build | |
39 | end | |
40 | ||
41 | install | |
42 | %{python3} setup.py install -O1 --skip-build --root %{BUILDROOT} | |
e1187e50 SS |
43 | |
44 | # Install pakfire macro. | |
45 | mkdir -p %{BUILDROOT}/usr/lib/pakfire/macros | |
46 | install -v -m 644 %{DIR_SOURCE}/%{name}.macro \ | |
47 | %{BUILDROOT}/usr/lib/pakfire/macros | |
1b7991e2 SS |
48 | end |
49 | end | |
50 | ||
51 | packages | |
52 | package %{name} | |
53 | requires | |
e1187e50 | 54 | ninja-build >= 1.9.0 |
1b7991e2 SS |
55 | python3-setuptools |
56 | end | |
57 | end | |
58 | end |