############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = jsoncpp version = 1.9.5 release = 2 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 BUILD_DIR = build requires cmake end build %{cmake} .. \ -DBUILD_OBJECT_LIBS:BOOL=OFF \ -DBUILD_STATIC_LIBS:BOOL=OFF make %{PARALLELISMFLAGS} end end packages package %{name} package %{name}-devel template DEVEL end package %{name}-debuginfo template DEBUGINFO end end