pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/yyjson
Module Name: pkgsrc
Committed By: vins
Date: Wed Jan 8 18:00:04 UTC 2025
Added Files:
pkgsrc/devel/yyjson: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/yyjson: inital import of package
A high performance JSON library written in ANSI C.
Features:
* Fast: can read or write gigabytes per second JSON data on modern CPUs.
* Portable: complies with ANSI C (C89) for cross-platform compatibility.
* Strict: complies with RFC 8259 JSON standard, ensuring strict number
format and UTF-8 validation.
* Extendable: offers options to allow comments, trailing commas,
NaN/Inf, and custom memory allocator.
* Accuracy: can accurately read and write int64, uint64, and double
numbers.
* Flexible: supports unlimited JSON nesting levels, \u0000 characters,
and non null-terminated strings.
* Manipulation: supports querying and modifying using JSON Pointer, JSON
Patch and JSON Merge Patch.
* Developer-Friendly: easy integration with only one h and one c file.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yyjson/DESCR pkgsrc/devel/yyjson/Makefile \
pkgsrc/devel/yyjson/PLIST pkgsrc/devel/yyjson/buildlink3.mk \
pkgsrc/devel/yyjson/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/yyjson/DESCR
diff -u /dev/null pkgsrc/devel/yyjson/DESCR:1.1
--- /dev/null Wed Jan 8 18:00:04 2025
+++ pkgsrc/devel/yyjson/DESCR Wed Jan 8 18:00:04 2025
@@ -0,0 +1,16 @@
+A high performance JSON library written in ANSI C.
+
+Features:
+* Fast: can read or write gigabytes per second JSON data on modern CPUs.
+* Portable: complies with ANSI C (C89) for cross-platform compatibility.
+* Strict: complies with RFC 8259 JSON standard, ensuring strict number
+ format and UTF-8 validation.
+* Extendable: offers options to allow comments, trailing commas,
+ NaN/Inf, and custom memory allocator.
+* Accuracy: can accurately read and write int64, uint64, and double
+ numbers.
+* Flexible: supports unlimited JSON nesting levels, \u0000 characters,
+ and non null-terminated strings.
+* Manipulation: supports querying and modifying using JSON Pointer, JSON
+ Patch and JSON Merge Patch.
+* Developer-Friendly: easy integration with only one h and one c file.
Index: pkgsrc/devel/yyjson/Makefile
diff -u /dev/null pkgsrc/devel/yyjson/Makefile:1.1
--- /dev/null Wed Jan 8 18:00:04 2025
+++ pkgsrc/devel/yyjson/Makefile Wed Jan 8 18:00:04 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/01/08 18:00:04 vins Exp $
+
+DISTNAME= yyjson-0.10.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ibireme/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= vins%NetBSD.org@localhost
+HOMEPAGE= https://ibireme.github.io/yyjson/doc/doxygen/html/
+COMMENT= High performance JSON library written in ANSI C
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= yyjson.pc.in
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/yyjson/PLIST
diff -u /dev/null pkgsrc/devel/yyjson/PLIST:1.1
--- /dev/null Wed Jan 8 18:00:04 2025
+++ pkgsrc/devel/yyjson/PLIST Wed Jan 8 18:00:04 2025
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2025/01/08 18:00:04 vins Exp $
+include/yyjson.h
+lib/cmake/yyjson/yyjson-config-release.cmake
+lib/cmake/yyjson/yyjson-config.cmake
+lib/libyyjson.a
+lib/pkgconfig/yyjson.pc
Index: pkgsrc/devel/yyjson/buildlink3.mk
diff -u /dev/null pkgsrc/devel/yyjson/buildlink3.mk:1.1
--- /dev/null Wed Jan 8 18:00:04 2025
+++ pkgsrc/devel/yyjson/buildlink3.mk Wed Jan 8 18:00:04 2025
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/01/08 18:00:04 vins Exp $
+
+BUILDLINK_TREE+= yyjson
+
+.if !defined(YYJSON_BUILDLINK3_MK)
+YYJSON_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.yyjson?= build
+
+BUILDLINK_API_DEPENDS.yyjson+= yyjson>=0.10.0
+BUILDLINK_PKGSRCDIR.yyjson?= ../../devel/yyjson
+
+BUILDLINK_LIBNAME.yyjson= yyjson
+BUILDLINK_LDADD.yyjson= ${BUILDLINK_LIBNAME.yyjson:S/^/-l/:S/^-l$//}
+
+.endif # YYJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -yyjson
Index: pkgsrc/devel/yyjson/distinfo
diff -u /dev/null pkgsrc/devel/yyjson/distinfo:1.1
--- /dev/null Wed Jan 8 18:00:04 2025
+++ pkgsrc/devel/yyjson/distinfo Wed Jan 8 18:00:04 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/01/08 18:00:04 vins Exp $
+
+BLAKE2s (yyjson-0.10.0.tar.gz) = 4e48c2aeb6a5a525a014392e676e1420d9f0689c5bebfd46019308a3b0cee60b
+SHA512 (yyjson-0.10.0.tar.gz) = d0274bfdae6291cc54d7c306f7f9064333d3e0fd8d235428148fa5695e151e0fdd0982247a5e82fe60b27e9182ba27d5704aca4546a8dc9545117bd3a017bfb5
+Size (yyjson-0.10.0.tar.gz) = 1538409 bytes
Home |
Main Index |
Thread Index |
Old Index