]>
Commit | Line | Data |
---|---|---|
1a23cf90 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = json-c | |
c7cd601d AB |
7 | version = 0.17 |
8 | reldate = 20230812 | |
c00d7b0d | 9 | release = 1 |
1a23cf90 MT |
10 | thisapp = %{name}-%{version}-%{reldate} |
11 | ||
12 | groups = System/Libraries | |
13 | url = https://github.com/json-c/json-c/wiki | |
14 | license = MIT | |
15 | summary = A JSON implementation in C | |
16 | ||
17 | description | |
18 | JSON-C implements a reference counting object model that allows you to | |
19 | easily construct JSON objects in C, output them as JSON formatted strings | |
20 | and parse JSON formatted strings back into the C representation of JSON | |
21 | objects. | |
22 | end | |
23 | ||
c7cd601d | 24 | source_dl = https://github.com/json-c/json-c/archive/refs/tags/ |
1a23cf90 MT |
25 | |
26 | build | |
27 | requires | |
c00d7b0d | 28 | cmake |
1a23cf90 MT |
29 | end |
30 | ||
31 | DIR_APP = %{DIR_SRC}/%{name}-%{thisapp} | |
32 | ||
c00d7b0d MT |
33 | build |
34 | %{cmake} . | |
1a23cf90 | 35 | |
c00d7b0d | 36 | make %{PARALLELISMFLAGS} |
1a23cf90 MT |
37 | end |
38 | end | |
39 | ||
40 | packages | |
41 | package %{name} | |
42 | ||
43 | package %{name}-devel | |
44 | template DEVEL | |
45 | end | |
46 | ||
47 | package %{name}-debuginfo | |
48 | template DEBUGINFO | |
49 | end | |
50 | end |