]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
jsoncpp: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Mar 2016 05:11:29 +0000 (05:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Mar 2016 05:11:29 +0000 (05:11 +0000)
Required by cmake

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
jsoncpp/jsoncpp.nm [new file with mode: 0644]

diff --git a/jsoncpp/jsoncpp.nm b/jsoncpp/jsoncpp.nm
new file mode 100644 (file)
index 0000000..c27ed69
--- /dev/null
@@ -0,0 +1,46 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = jsoncpp
+version    = 0.10.5
+release    = 1
+
+groups     = System/Libraries
+url        = https://github.com/open-source-parsers/jsoncpp
+license    = Public Domain or MIT
+summary    = A JSON implementation in C++
+
+description
+       %{name} is an implementation of a JSON (http://json.org) reader and
+       writer in C++. JSON (JavaScript Object Notation) is a lightweight
+       data-interchange format.
+       It is easy for humans to read and write. It is easy for machines to
+       parse and generate.
+end
+
+source_dl  = https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/
+
+build
+       requires
+               cmake
+       end
+
+       build
+               CMAKE_CXX_FLAGS="-Wno-error" %{cmake} .
+               make %{PARALLELISMFLAGS}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end