added my Recipes
This commit is contained in:
@@ -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-or-later"
|
||||
|
||||
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"
|
||||
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "A simple, sane and efficient module to slurp a file"
|
||||
DESCRIPTION = "This module provides functions for fast and correct slurping and spewing. \
|
||||
All functions are optionally exported. All functions throw exceptions on \
|
||||
errors, write functions don't return any meaningful value."
|
||||
|
||||
SECTION = "libs"
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
|
||||
HOMEPAGE= "https://metacpan.org/release/File-Slurper"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
|
||||
file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/File-Slurper-${PV}.tar.gz"
|
||||
|
||||
SRC_URI[sha256sum] = "d5a36487339888c3cd758e648160ee1d70eb4153cacbaff57846dbcefb344b0c"
|
||||
RDEPENDS:${PN} = " \
|
||||
perl-module-carp \
|
||||
perl-module-encode \
|
||||
perl-module-exporter \
|
||||
perl-module-perlio \
|
||||
perl-module-perlio-encoding \
|
||||
perl-module-strict \
|
||||
perl-module-warnings \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "libtest-warnings-perl \
|
||||
perl-module-test-more \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/File-Slurper-${PV}"
|
||||
|
||||
inherit cpan ptest-perl
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user