jansson: New package.

Message ID 20230215194624.357015-1-stefan.schantl@ipfire.org
State Accepted
Commit 9954fe53aa9d26770deda512fa6d1323375c88a0
Headers
Series jansson: New package. |

Commit Message

Stefan Schantl Feb. 15, 2023, 7:46 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 jansson/jansson.nm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 jansson/jansson.nm
  

Patch

diff --git a/jansson/jansson.nm b/jansson/jansson.nm
new file mode 100644
index 000000000..6fab1d462
--- /dev/null
+++ b/jansson/jansson.nm
@@ -0,0 +1,41 @@ 
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = jansson
+version    = 2.13.1
+release    = 1
+
+groups     = System/Libraries
+url        = https://www.digip.org/jansson/
+license    = MIT
+summary    = C library for encoding, decoding and manipulating JSON data.
+
+description
+	Small library for parsing and writing JSON documents.
+end
+
+source_dl  = https://www.digip.org/jansson/releases/
+sources    = %{thisapp}.tar.bz2
+
+build
+	configure_options += \
+		--disable-static \
+
+	test
+		LD_LIBRARY_PATH="%{DIR_APP}/src/.libs" make check
+	end
+end
+
+packages
+	package %{name}
+
+	package %{name}-devel
+		template DEVEL
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end