blob: 9057ae7fa491fd38ca316a8b0a22152b35a3ab4f [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Text::CharWidth - Get number of occupied columns of a string on terminal."
2DESCRIPTION = "This module supplies features similar as wcwidth(3) and wcswidth(3) \
3in C language. \
4Characters have its own width on terminal depending on locale. For \
5example, ASCII characters occupy one column per character, east Asian \
6fullwidth characters (like Hiragana or Han Ideograph) occupy two columns \
7per character, and combining characters (apperaring in ISO-8859-11 Thai, \
8Unicode, and so on) occupy zero columns per character. mbwidth() gives the \
9width of the first character of the given string and mbswidth() gives the \
10width of the whole given string."
11SECTION = "libs"
12
13HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/"
14
15LICENSE = "Artistic-1.0 | GPLv1+"
16LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db"
17
18SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz"
19
20SRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15"
21SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8"
22
23S = "${WORKDIR}/Text-CharWidth-${PV}"
24
25inherit cpan
26
27BBCLASSEXTEND = "native"