mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
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>
This commit is contained in:
parent
2abbcacaf3
commit
70e575f33d
32
meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
Normal file
32
meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
SUMMARY = "Text::WrapI18N - Line wrapping module with support for multibyte, \
|
||||
fullwidth, and combining characters and languages without whitespaces \
|
||||
between words."
|
||||
DESCRIPTION = "This module intends to be a better Text::Wrap module. This module is \
|
||||
needed to support multibyte character encodings such as UTF-8, EUC-JP, \
|
||||
EUC-KR, GB2312, and Big5. This module also supports characters with \
|
||||
irregular widths, such as combining characters (which occupy zero columns \
|
||||
on terminal, like diacritical marks in UTF-8) and fullwidth characters \
|
||||
(which occupy two columns on terminal, like most of east Asian \
|
||||
characters). Also, minimal handling of languages which doesn't use \
|
||||
whitespaces between words (like Chinese and Japanese) is supported."
|
||||
SECTION = "libs"
|
||||
|
||||
HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/"
|
||||
|
||||
LICENSE = "Artistic-1.0 | GPLv1+"
|
||||
LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz"
|
||||
|
||||
SRC_URI[md5sum] = "0799c16a00926e6c18d400c2e2861d5f"
|
||||
SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488"
|
||||
|
||||
S = "${WORKDIR}/Text-WrapI18N-${PV}"
|
||||
|
||||
DEPENDS = "libtext-charwidth-perl"
|
||||
|
||||
RDEPENDS_${PN} = "libtext-charwidth-perl"
|
||||
|
||||
inherit cpan
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Loading…
Reference in New Issue
Block a user