]> git.ipfire.org Git - ipfire-3.x.git/blame - json-c/json-c.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / json-c / json-c.nm
CommitLineData
1a23cf90
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = json-c
c7cd601d
AB
7version = 0.17
8reldate = 20230812
c00d7b0d 9release = 1
1a23cf90
MT
10thisapp = %{name}-%{version}-%{reldate}
11
12groups = System/Libraries
13url = https://github.com/json-c/json-c/wiki
14license = MIT
15summary = A JSON implementation in C
16
17description
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.
22end
23
c7cd601d 24source_dl = https://github.com/json-c/json-c/archive/refs/tags/
1a23cf90
MT
25
26build
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
38end
39
40packages
41 package %{name}
42
43 package %{name}-devel
44 template DEVEL
45 end
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
50end