libjson-xs-perl: Add needed dependency by the same author

libjson-xs requires another module that is normally not
packaged.
This commit is contained in:
Holger Hans Peter Freyther 2015-05-21 19:37:00 +08:00
parent d454e151c3
commit b792b649e4
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
SUMMARY = "Module needed by libjson-xs-perl"
DESCRIPTION = ""
HOMEPAGE = "http://search.cpan.org/~mlehmann/common-sense-3.73/sense.pod"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=043dba8b278e1db1b0ef93f30140b02b"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-${PV}.tar.gz"
SRC_URI[md5sum] = "6da7455a43ab60ed21c2a5e3b3ddeda8"
SRC_URI[sha256sum] = "8110c5e472641e0c218f8e023cecc1612ef66f9a1b313261fe219862efe3fd10"
S = "${WORKDIR}/common-sense-${PV}"
inherit cpan
BBCLASSEXTEND = "native"

View File

@ -4,6 +4,7 @@ HOMEPAGE = "http://search.cpan.org/~makamaka/JSON-2.90/lib/JSON.pm"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
RDEPENDS_${PN} = " perl-module-encoding \
libcommon-sense-perl \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=043dba8b278e1db1b0ef93f30140b02b"