diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-07-11 18:44:35 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:34 +0200 |
commit | 2abbcacaf37eeb74eb754bc2b299e2eb5fa6f736 (patch) | |
tree | 923f2fd305dfae25adc1050d966481ded4830fa2 /meta-perl | |
parent | 7949042e856b0e1e119614d9cbabd2fd6b52f8a8 (diff) | |
download | meta-openembedded-2abbcacaf37eeb74eb754bc2b299e2eb5fa6f736.tar.gz |
libtext-charwidth-perl: add recipe
Text::CharWidth - Get number of occupied columns of a string on
terminal.
It's being depended by libtext-wrapi18n-perl.
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb new file mode 100644 index 000000000..9057ae7fa --- /dev/null +++ b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Text::CharWidth - Get number of occupied columns of a string on terminal." | ||
2 | DESCRIPTION = "This module supplies features similar as wcwidth(3) and wcswidth(3) \ | ||
3 | in C language. \ | ||
4 | Characters have its own width on terminal depending on locale. For \ | ||
5 | example, ASCII characters occupy one column per character, east Asian \ | ||
6 | fullwidth characters (like Hiragana or Han Ideograph) occupy two columns \ | ||
7 | per character, and combining characters (apperaring in ISO-8859-11 Thai, \ | ||
8 | Unicode, and so on) occupy zero columns per character. mbwidth() gives the \ | ||
9 | width of the first character of the given string and mbswidth() gives the \ | ||
10 | width of the whole given string." | ||
11 | SECTION = "libs" | ||
12 | |||
13 | HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/" | ||
14 | |||
15 | LICENSE = "Artistic-1.0 | GPLv1+" | ||
16 | LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db" | ||
17 | |||
18 | SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz" | ||
19 | |||
20 | SRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15" | ||
21 | SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8" | ||
22 | |||
23 | S = "${WORKDIR}/Text-CharWidth-${PV}" | ||
24 | |||
25 | inherit cpan | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||