perl-json-maybexs: new package
authorChristopher McCrory <chrismcc@gmail.com>
Fri, 10 Aug 2018 16:14:55 +0000 (09:14 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Aug 2018 21:45:48 +0000 (23:45 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-json-maybexs/Config.in [new file with mode: 0644]
package/perl-json-maybexs/perl-json-maybexs.hash [new file with mode: 0644]
package/perl-json-maybexs/perl-json-maybexs.mk [new file with mode: 0644]

index ed5ca129910964298ddee4874bce99ebc26ffe55..e88f95127443b413eb32541a0251b2e6f439f9d6 100644 (file)
@@ -490,6 +490,7 @@ F:  package/perl-dbi/
 F:     package/perl-device-serialport/
 F:     package/perl-file-slurp/
 F:     package/perl-io-interface/
+F:     package/perl-json-maybexs/
 
 N:     Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
 F:     package/audit/
index ac145b3a0f3ab331a219997f3b08ab6a1b1030be..32a567ca2372df2beb408898aff01e5ca90e41f2 100644 (file)
@@ -699,6 +699,7 @@ menu "Perl libraries/modules"
        source "package/perl-io-html/Config.in"
        source "package/perl-io-interface/Config.in"
        source "package/perl-io-socket-ssl/Config.in"
+       source "package/perl-json-maybexs/Config.in"
        source "package/perl-json-tiny/Config.in"
        source "package/perl-libwww-perl/Config.in"
        source "package/perl-lwp-mediatypes/Config.in"
diff --git a/package/perl-json-maybexs/Config.in b/package/perl-json-maybexs/Config.in
new file mode 100644 (file)
index 0000000..1db82c3
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_JSON_MAYBEXS
+       bool "perl-json-maybexs"
+       help
+         Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
+
+         https://metacpan.org/release/JSON-MaybeXS
diff --git a/package/perl-json-maybexs/perl-json-maybexs.hash b/package/perl-json-maybexs/perl-json-maybexs.hash
new file mode 100644 (file)
index 0000000..c8bf172
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    db61fb5515f8e2f19709a317e26dde42 JSON-MaybeXS-1.004000.tar.gz
+sha256 59bda02e8f4474c73913723c608b539e2452e16c54ed7f0150c01aad06e0a126 JSON-MaybeXS-1.004000.tar.gz
+
+# computed by scancpan
+sha256 d972e00126c5337e88d81d64fc349a3f4c54841075f4180a1145441d30c86f83 README
diff --git a/package/perl-json-maybexs/perl-json-maybexs.mk b/package/perl-json-maybexs/perl-json-maybexs.mk
new file mode 100644 (file)
index 0000000..b4eaccd
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-json-maybexs
+#
+################################################################################
+
+PERL_JSON_MAYBEXS_VERSION = 1.004000
+PERL_JSON_MAYBEXS_SOURCE = JSON-MaybeXS-$(PERL_JSON_MAYBEXS_VERSION).tar.gz
+PERL_JSON_MAYBEXS_SITE = $(BR2_CPAN_MIRROR)/authors/id/H/HA/HAARG
+PERL_JSON_MAYBEXS_LICENSE = Artistic or GPL-1.0+
+PERL_JSON_MAYBEXS_LICENSE_FILES = README
+
+$(eval $(perl-package))