blob: a7a998c358cf006e80954e2a6ff74fe171211a4f [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001SUMMARY = "Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm."
2DESCRIPTION = "Unicode::LineBreak performs Line Breaking Algorithm described in Unicode \
3Standard Annex #14 [UAX #14]. East_Asian_Width informative property \
4defined by Annex #11 [UAX #11] will be concerned to determine breaking \
5positions."
6SECTION = "libs"
7
8HOMEPAGE = "https://metacpan.org/release/Unicode-LineBreak"
9
Andrew Geissler9aee5002022-03-30 16:27:02 +000010LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
Brad Bishop26bdd442019-08-16 17:08:17 -040011LIC_FILES_CHKSUM = "file://README;beginline=5;endline=9;md5=b5e8b1099b86b86fbc315b50484231ab"
12
13SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz"
14
15SRC_URI[md5sum] = "003d6da7a13700e069afed9238c864b9"
16SRC_URI[sha256sum] = "486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a"
17
18S = "${WORKDIR}/Unicode-LineBreak-${PV}"
19
20DEPENDS = "libsombok3 libmime-charset-perl"
21
22inherit cpan ptest-perl
23
24do_install_ptest() {
25 cp -r ${B}/test-data ${D}${PTEST_PATH}
26 chown -R root:root ${D}${PTEST_PATH}
27}
28
Patrick Williams213cb262021-08-07 19:21:33 -050029RDEPENDS:${PN} += " \
Brad Bishop26bdd442019-08-16 17:08:17 -040030 libmime-charset-perl \
31 libsombok3 \
32 perl-module-carp \
33 perl-module-constant \
34 perl-module-encode \
35 perl-module-exporter \
36 perl-module-overload \
37 perl-module-strict \
38 perl-module-vars \
39 perl-module-warnings \
40 perl-module-xsloader \
41"
42
Patrick Williams213cb262021-08-07 19:21:33 -050043RDEPENDS:${PN}-ptest += " \
Brad Bishop26bdd442019-08-16 17:08:17 -040044 perl-module-findbin \
45 perl-module-lib \
46 perl-module-strict \
47 perl-module-test-more \
48"
49
Patrick Williams213cb262021-08-07 19:21:33 -050050RPROVIDES:${PN} += " \
Brad Bishop26bdd442019-08-16 17:08:17 -040051 libtext-linefold-perl \
52 libunicode-gcstring-perl \
53"
54
55BBCLASSEXTEND = "native"