Jens Rehsack | c5bbb0b | 2018-02-25 21:48:03 +0100 | [diff] [blame] | 1 | DESCRIPTION = "This module is a thin wrapper for JSON::XS-compatible modules with a few \ |
| 2 | additional features. All the backend modules convert a Perl data structure \ |
| 3 | to a JSON text as of RFC4627 (which we know is obsolete but we still stick \ |
| 4 | to; see below for an option to support part of RFC7159) and vice versa. \ |
| 5 | This module uses JSON::XS by default, and when JSON::XS is not available, \ |
| 6 | this module falls back on JSON::PP, which is in the Perl core since 5.14. \ |
| 7 | If JSON::PP is not available either, this module then falls back on \ |
| 8 | JSON::backportPP (which is actually JSON::PP in a different .pm file) \ |
| 9 | bundled in the same distribution as this module. You can also explicitly \ |
| 10 | specify to use Cpanel::JSON::XS, a fork of JSON::XS by Reini Urban." |
| 11 | |
| 12 | SECTION = "libs" |
Andrew Geissler | 4acc0a9 | 2021-03-11 11:08:24 -0600 | [diff] [blame] | 13 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
Jens Rehsack | c5bbb0b | 2018-02-25 21:48:03 +0100 | [diff] [blame] | 14 | PR = "r0" |
| 15 | |
| 16 | MAINTAINER= "Poky <poky@yoctoproject.org>" |
| 17 | HOMEPAGE= "https://metacpan.org/release/JSON" |
| 18 | |
| 19 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ |
Andrew Geissler | 4acc0a9 | 2021-03-11 11:08:24 -0600 | [diff] [blame] | 20 | file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" |
Jens Rehsack | c5bbb0b | 2018-02-25 21:48:03 +0100 | [diff] [blame] | 21 | |
| 22 | SRC_URI = "https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz" |
| 23 | |
| 24 | SRC_URI[md5sum] = "693d6ff167496362f8ec6c3c5b8ba5ee" |
| 25 | SRC_URI[sha256sum] = "e277d9385633574923f48c297e1b8acad3170c69fa590e31fa466040fc6f8f5a" |
| 26 | |
| 27 | S = "${WORKDIR}/JSON-${PV}" |
| 28 | |
| 29 | inherit cpan allarch |
| 30 | |
| 31 | BBCLASSEXTEND = "native" |