From c0a7e043981635a5bec6cee2cb562a04b5247a56 Mon Sep 17 00:00:00 2001 From: bluhm Date: Thu, 9 Jun 2022 14:54:56 +0000 Subject: [PATCH] import p5-CBOR-XS 1.86 OK sthen@ Comment: concise binary object representation Description: This module converts Perl data structures to the Concise Binary Object Representation (CBOR) and vice versa. CBOR is a fast binary serialisation format that aims to use an (almost) superset of the JSON data model, i.e. when you can represent something useful in JSON, you should be able to represent it in CBOR. --- converters/p5-CBOR-XS/Makefile | 21 +++++++++++++++++++++ converters/p5-CBOR-XS/distinfo | 2 ++ converters/p5-CBOR-XS/pkg/DESCR | 5 +++++ converters/p5-CBOR-XS/pkg/PLIST | 7 +++++++ 4 files changed, 35 insertions(+) create mode 100644 converters/p5-CBOR-XS/Makefile create mode 100644 converters/p5-CBOR-XS/distinfo create mode 100644 converters/p5-CBOR-XS/pkg/DESCR create mode 100644 converters/p5-CBOR-XS/pkg/PLIST diff --git a/converters/p5-CBOR-XS/Makefile b/converters/p5-CBOR-XS/Makefile new file mode 100644 index 00000000000..b310c0c2002 --- /dev/null +++ b/converters/p5-CBOR-XS/Makefile @@ -0,0 +1,21 @@ +COMMENT = concise binary object representation + +DISTNAME = CBOR-XS-1.86 +CPAN_AUTHOR = MLEHMANN + +CATEGORIES = converters + +MAINTAINER = Alexander Bluhm + +# GPLv3 +PERMIT_PACKAGE = Yes + +WANTLIB = c perl + +MODULES = cpan + +BUILD_DEPENDS = devel/p5-Canary-Stability +RUN_DEPENDS = converters/p5-Types-Serialiser \ + devel/p5-common-sense + +.include diff --git a/converters/p5-CBOR-XS/distinfo b/converters/p5-CBOR-XS/distinfo new file mode 100644 index 00000000000..48100bbab53 --- /dev/null +++ b/converters/p5-CBOR-XS/distinfo @@ -0,0 +1,2 @@ +SHA256 (CBOR-XS-1.86.tar.gz) = 2bckoNM3EHt/8c1jKFuukKJWj27PwrUpoyoWv/8TuKk= +SIZE (CBOR-XS-1.86.tar.gz) = 79476 diff --git a/converters/p5-CBOR-XS/pkg/DESCR b/converters/p5-CBOR-XS/pkg/DESCR new file mode 100644 index 00000000000..917cebc0720 --- /dev/null +++ b/converters/p5-CBOR-XS/pkg/DESCR @@ -0,0 +1,5 @@ +This module converts Perl data structures to the Concise Binary +Object Representation (CBOR) and vice versa. CBOR is a fast binary +serialisation format that aims to use an (almost) superset of the +JSON data model, i.e. when you can represent something useful in +JSON, you should be able to represent it in CBOR. diff --git a/converters/p5-CBOR-XS/pkg/PLIST b/converters/p5-CBOR-XS/pkg/PLIST new file mode 100644 index 00000000000..ae7dfcb9600 --- /dev/null +++ b/converters/p5-CBOR-XS/pkg/PLIST @@ -0,0 +1,7 @@ +${P5ARCH}/CBOR/ +${P5ARCH}/CBOR/XS.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/CBOR/ +${P5ARCH}/auto/CBOR/XS/ +@so ${P5ARCH}/auto/CBOR/XS/XS.so +@man man/man3p/CBOR::XS.3p