]> git.ipfire.org Git - ipfire-3.x.git/blob - json-c/json-c.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / json-c / json-c.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = json-c
7 version = 0.17
8 reldate = 20230812
9 release = 1
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
24 source_dl = https://github.com/json-c/json-c/archive/refs/tags/
25
26 build
27 requires
28 cmake
29 end
30
31 DIR_APP = %{DIR_SRC}/%{name}-%{thisapp}
32
33 build
34 %{cmake} .
35
36 make %{PARALLELISMFLAGS}
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