diff options
| author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-07-11 18:44:36 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:34 +0200 |
| commit | 70e575f33daf2d506634c6c941fab272dc52219f (patch) | |
| tree | 9b46dda3f31f4e79db3ff8dbb37a723fe4eb5f0d | |
| parent | 2abbcacaf37eeb74eb754bc2b299e2eb5fa6f736 (diff) | |
| download | meta-openembedded-70e575f33daf2d506634c6c941fab272dc52219f.tar.gz | |
libtext-wrapi18n-perl: add recipe
Text::WrapI18N - Line wrapping module with support for multibyte,
fullwidth, and combining characters and languages without whitespaces
between words.
It's being strongly recommended by po4a.
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb new file mode 100644 index 0000000000..b2c239d79b --- /dev/null +++ b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "Text::WrapI18N - Line wrapping module with support for multibyte, \ | ||
| 2 | fullwidth, and combining characters and languages without whitespaces \ | ||
| 3 | between words." | ||
| 4 | DESCRIPTION = "This module intends to be a better Text::Wrap module. This module is \ | ||
| 5 | needed to support multibyte character encodings such as UTF-8, EUC-JP, \ | ||
| 6 | EUC-KR, GB2312, and Big5. This module also supports characters with \ | ||
| 7 | irregular widths, such as combining characters (which occupy zero columns \ | ||
| 8 | on terminal, like diacritical marks in UTF-8) and fullwidth characters \ | ||
| 9 | (which occupy two columns on terminal, like most of east Asian \ | ||
| 10 | characters). Also, minimal handling of languages which doesn't use \ | ||
| 11 | whitespaces between words (like Chinese and Japanese) is supported." | ||
| 12 | SECTION = "libs" | ||
| 13 | |||
| 14 | HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/" | ||
| 15 | |||
| 16 | LICENSE = "Artistic-1.0 | GPLv1+" | ||
| 17 | LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858" | ||
| 18 | |||
| 19 | SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz" | ||
| 20 | |||
| 21 | SRC_URI[md5sum] = "0799c16a00926e6c18d400c2e2861d5f" | ||
| 22 | SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/Text-WrapI18N-${PV}" | ||
| 25 | |||
| 26 | DEPENDS = "libtext-charwidth-perl" | ||
| 27 | |||
| 28 | RDEPENDS_${PN} = "libtext-charwidth-perl" | ||
| 29 | |||
| 30 | inherit cpan | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
