]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
yajl: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Jan 2023 11:37:59 +0000 (11:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 8 Jan 2023 11:37:59 +0000 (11:37 +0000)
Required by libvirt

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

diff --git a/yajl/yajl.nm b/yajl/yajl.nm
new file mode 100644 (file)
index 0000000..4e5a0d4
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = yajl
+version    = 2.1.0
+release    = 1
+
+groups     = System/Libraries
+url        = https://lloyd.github.io/yajl/
+license    = ISC
+summary    = Yet Another JSON Library (YAJL)
+
+description
+       Yet Another JSON Library. YAJL is a small event-driven (SAX-style)
+       JSON parser written in ANSI C, and a small validating JSON generator.
+       YAJL is released under the ISC license.
+end
+
+source_dl = https://github.com/lloyd/yajl/archive/refs/tags/%{version}.tar.gz#/
+
+build
+       requires
+               cmake
+       end
+
+       build
+               %{cmake} .
+               make %{PARALLELISMFLAGS}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end