From: Michael Tremer Date: Thu, 10 Mar 2016 05:11:29 +0000 (+0000) Subject: jsoncpp: New package X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e80c4240051d37331a15e433e4170024044bd207;p=people%2Fstevee%2Fipfire-3.x.git jsoncpp: New package Required by cmake Signed-off-by: Michael Tremer --- diff --git a/jsoncpp/jsoncpp.nm b/jsoncpp/jsoncpp.nm new file mode 100644 index 000000000..c27ed6975 --- /dev/null +++ b/jsoncpp/jsoncpp.nm @@ -0,0 +1,46 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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