1*4882a593SmuzhiyunSUMMARY = "Text::CharWidth - Get number of occupied columns of a string on terminal." 2*4882a593SmuzhiyunDESCRIPTION = "This module supplies features similar as wcwidth(3) and wcswidth(3) \ 3*4882a593Smuzhiyunin C language. \ 4*4882a593SmuzhiyunCharacters have its own width on terminal depending on locale. For \ 5*4882a593Smuzhiyunexample, ASCII characters occupy one column per character, east Asian \ 6*4882a593Smuzhiyunfullwidth characters (like Hiragana or Han Ideograph) occupy two columns \ 7*4882a593Smuzhiyunper character, and combining characters (apperaring in ISO-8859-11 Thai, \ 8*4882a593SmuzhiyunUnicode, and so on) occupy zero columns per character. mbwidth() gives the \ 9*4882a593Smuzhiyunwidth of the first character of the given string and mbswidth() gives the \ 10*4882a593Smuzhiyunwidth of the whole given string." 11*4882a593SmuzhiyunSECTION = "libs" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 16*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunSRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunSRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15" 21*4882a593SmuzhiyunSRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunS = "${WORKDIR}/Text-CharWidth-${PV}" 24*4882a593Smuzhiyun 25*4882a593Smuzhiyuninherit cpan 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunBBCLASSEXTEND = "native" 28