summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-textproc
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-31 13:25:51 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-06 14:44:12 +0300
commitff075f6ee795a590b244d70a90cc312ba1f2d83d (patch)
treea617790bdbfdeef960665ba0242e1f0c93e5301a /meta-phosphor/recipes-textproc
parent3e4da38c127bb7e7641adc2fc41f4c33744cb918 (diff)
downloadopenbmc-ff075f6ee795a590b244d70a90cc312ba1f2d83d.tar.xz
meta-phosphor: Move layer content from common/
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-textproc')
-rw-r--r--meta-phosphor/recipes-textproc/json-perl/json-perl_2.97001.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-textproc/json-perl/json-perl_2.97001.bb b/meta-phosphor/recipes-textproc/json-perl/json-perl_2.97001.bb
new file mode 100644
index 000000000..9196e8e57
--- /dev/null
+++ b/meta-phosphor/recipes-textproc/json-perl/json-perl_2.97001.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "This module is a thin wrapper for JSON::XS-compatible modules with a few \
+additional features. All the backend modules convert a Perl data structure \
+to a JSON text as of RFC4627 (which we know is obsolete but we still stick \
+to; see below for an option to support part of RFC7159) and vice versa. \
+This module uses JSON::XS by default, and when JSON::XS is not available, \
+this module falls back on JSON::PP, which is in the Perl core since 5.14. \
+If JSON::PP is not available either, this module then falls back on \
+JSON::backportPP (which is actually JSON::PP in a different .pm file) \
+bundled in the same distribution as this module. You can also explicitly \
+specify to use Cpanel::JSON::XS, a fork of JSON::XS by Reini Urban."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"
+
+MAINTAINER= "Poky <poky@yoctoproject.org>"
+HOMEPAGE= "https://metacpan.org/release/JSON"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz"
+
+SRC_URI[md5sum] = "693d6ff167496362f8ec6c3c5b8ba5ee"
+SRC_URI[sha256sum] = "e277d9385633574923f48c297e1b8acad3170c69fa590e31fa466040fc6f8f5a"
+
+S = "${WORKDIR}/JSON-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"