aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
blob: 4a2cb73e86a412922daf1fa1d523b972169ee1bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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+"

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[md5sum] = "5742c63096392dfee50b8db314bcca18"
SRC_URI[sha256sum] = "4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578"
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"