libfile-slurp-perl: add new recipe

This module provides subroutines to read or write
entire files with a simple call.  It also has a
subroutine for reading the list of filenames
in a directory.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang 2017-06-16 10:42:38 +08:00 committed by Martin Jansa
parent 3b96572070
commit 62f6441a66

View File

@ -0,0 +1,19 @@
SUMMARY = "Slurp entire files into variables."
DESCRIPTION = "This module provides subroutines to read or write \
entire files with a simple call. It also has a subroutine for \
reading the list of filenames in a directory. \
"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz"
S = "${WORKDIR}/File-Slurp-${PV}"
inherit cpan
SRC_URI[md5sum] = "7d584cd15c4f8b9547765eff8c4ef078"
SRC_URI[sha256sum] = "ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643"
BBCLASSEXTEND="native"