]>
Commit | Line | Data |
---|---|---|
36f496ec MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = libinih | |
7 | version = 56 | |
8 | release = 1 | |
9 | thisapp = inih-r%{version} | |
10 | ||
11 | groups = System/Libraries | |
12 | url = https://github.com/benhoyt/inih | |
13 | license = BSD | |
14 | summary = Simple .INI file parser in C, good for embedded systems | |
15 | ||
16 | description | |
17 | inih (INI Not Invented Here) is a simple .INI file parser written in C. | |
18 | It's only a couple of pages of code, and it was designed to be small | |
19 | and simple, so it's good for embedded systems. It's also more or less | |
20 | compatible with Python's ConfigParser style of .INI files, including | |
21 | RFC 822-style multi-line syntax and name: value entries. | |
22 | end | |
23 | ||
24 | source_dl = https://github.com/benhoyt/inih/archive/refs/tags/r%{version}.tar.gz#/ | |
25 | ||
26 | build | |
27 | requires | |
28 | meson | |
29 | ninja | |
30 | end | |
31 | ||
32 | build | |
33 | %{meson} \ | |
34 | -Ddefault_library=shared \ | |
35 | -Ddistro_install=true \ | |
36 | -Dwith_INIReader=true | |
37 | ||
38 | %{meson_build} | |
39 | end | |
40 | ||
41 | install | |
42 | %{meson_install} | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | ||
49 | package %{name}-devel | |
50 | template DEVEL | |
51 | end | |
52 | ||
53 | package %{name}-debuginfo | |
54 | template DEBUGINFO | |
55 | end | |
56 | end |