aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb
blob: 304b375777ecdeaf68506aae672dce3105a0761c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SUMMARY = "Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm."
DESCRIPTION = "Unicode::LineBreak performs Line Breaking Algorithm described in Unicode \
Standard Annex #14 [UAX #14]. East_Asian_Width informative property \
defined by Annex #11 [UAX #11] will be concerned to determine breaking \
positions."
SECTION = "libs"

HOMEPAGE = "https://metacpan.org/release/Unicode-LineBreak"

LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://README;beginline=5;endline=9;md5=b5e8b1099b86b86fbc315b50484231ab"

SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz"

SRC_URI[md5sum] = "003d6da7a13700e069afed9238c864b9"
SRC_URI[sha256sum] = "486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a"

S = "${WORKDIR}/Unicode-LineBreak-${PV}"

DEPENDS = "libsombok3 libmime-charset-perl"

inherit cpan ptest-perl

do_install_ptest() {
    cp -r ${B}/test-data ${D}${PTEST_PATH}
    chown -R root:root ${D}${PTEST_PATH}
}

RDEPENDS_${PN} += " \
    libmime-charset-perl \
    libsombok3 \
    perl-module-carp \
    perl-module-constant \
    perl-module-encode \
    perl-module-exporter \
    perl-module-overload \
    perl-module-strict \
    perl-module-vars \
    perl-module-warnings \
    perl-module-xsloader \
"

RDEPENDS_${PN}-ptest += " \
    perl-module-findbin \
    perl-module-lib \
    perl-module-strict \
    perl-module-test-more \
"

RPROVIDES_${PN} += " \
    libtext-linefold-perl \
    libunicode-gcstring-perl \
"

BBCLASSEXTEND = "native"