]> git.ipfire.org Git - ipfire-3.x.git/blob - jsoncpp/jsoncpp.nm
pcengines-apu-firmware: New package
[ipfire-3.x.git] / jsoncpp / jsoncpp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = jsoncpp
7 version = 1.7.2
8 release = 1
9
10 groups = System/Libraries
11 url = https://github.com/open-source-parsers/jsoncpp
12 license = Public Domain or MIT
13 summary = A JSON implementation in C++
14
15 description
16 %{name} is an implementation of a JSON (http://json.org) reader and
17 writer in C++. JSON (JavaScript Object Notation) is a lightweight
18 data-interchange format.
19 It is easy for humans to read and write. It is easy for machines to
20 parse and generate.
21 end
22
23 source_dl = https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/
24
25 build
26 requires
27 cmake
28 end
29
30 build
31 CMAKE_CXX_FLAGS="-Wno-error" %{cmake} .
32 make %{PARALLELISMFLAGS}
33 end
34 end
35
36 packages
37 package %{name}
38
39 package %{name}-devel
40 template DEVEL
41 end
42
43 package %{name}-debuginfo
44 template DEBUGINFO
45 end
46 end