Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | SUMMARY = "Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm." |
| 2 | DESCRIPTION = "Unicode::LineBreak performs Line Breaking Algorithm described in Unicode \ |
| 3 | Standard Annex #14 [UAX #14]. East_Asian_Width informative property \ |
| 4 | defined by Annex #11 [UAX #11] will be concerned to determine breaking \ |
| 5 | positions." |
| 6 | SECTION = "libs" |
| 7 | |
| 8 | HOMEPAGE = "https://metacpan.org/release/Unicode-LineBreak" |
| 9 | |
| 10 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 11 | LIC_FILES_CHKSUM = "file://README;beginline=5;endline=9;md5=b5e8b1099b86b86fbc315b50484231ab" |
| 12 | |
| 13 | SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz" |
| 14 | |
| 15 | SRC_URI[md5sum] = "003d6da7a13700e069afed9238c864b9" |
| 16 | SRC_URI[sha256sum] = "486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a" |
| 17 | |
| 18 | S = "${WORKDIR}/Unicode-LineBreak-${PV}" |
| 19 | |
| 20 | DEPENDS = "libsombok3 libmime-charset-perl" |
| 21 | |
| 22 | inherit cpan ptest-perl |
| 23 | |
| 24 | do_install_ptest() { |
| 25 | cp -r ${B}/test-data ${D}${PTEST_PATH} |
| 26 | chown -R root:root ${D}${PTEST_PATH} |
| 27 | } |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | RDEPENDS:${PN} += " \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 30 | 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 Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 43 | RDEPENDS:${PN}-ptest += " \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 44 | perl-module-findbin \ |
| 45 | perl-module-lib \ |
| 46 | perl-module-strict \ |
| 47 | perl-module-test-more \ |
| 48 | " |
| 49 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 50 | RPROVIDES:${PN} += " \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 51 | libtext-linefold-perl \ |
| 52 | libunicode-gcstring-perl \ |
| 53 | " |
| 54 | |
| 55 | BBCLASSEXTEND = "native" |