diff --git a/programming/misc/cjson/actions.py b/programming/misc/cjson/actions.py new file mode 100644 index 0000000000..4e066573ca --- /dev/null +++ b/programming/misc/cjson/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, mesontools, pisitools + +i = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DENABLE_CJSON_UTILS=ON', + ' -Bbuild -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + mesontools.build() + +def install(): + mesontools.install() + + pisitools.dodoc("CONTRIBUTORS.md", "LICENSE") diff --git a/programming/misc/cjson/pspec.xml b/programming/misc/cjson/pspec.xml new file mode 100644 index 0000000000..307940f77b --- /dev/null +++ b/programming/misc/cjson/pspec.xml @@ -0,0 +1,53 @@ + + + + + cjson + https://github.com/DaveGamble/cJSON + + Blue Devil + bluedevil@sctzine.com + + MIT + programming.misc + Ultralightweight JSON parser in ANSI C. + pass + https://github.com/DaveGamble/cJSON/archive/v1.7.18/cJSON-1.7.18.tar.gz + + cmake + ninja + + + + + + + + cjson + + /usr/lib + /usr/share + + + + + cjson-devel + + cjson + + + /usr/include + /usr/lib/cmake + /usr/lib/pkgconfig + + + + + + 2025-02-06 + 1.7.18 + Mostapa Mohammed + roseblue@inclusive.mail + + +