libtext-charwidth-perl_0.04.bb 1.1 KB

123456789101112131415161718192021222324252627
  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. HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/"
  13. LICENSE = "Artistic-1.0 | GPLv1+"
  14. LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db"
  15. SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz"
  16. SRC_URI[md5sum] = "37a723df0580c0758c0ee67b37336c15"
  17. SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8"
  18. S = "${WORKDIR}/Text-CharWidth-${PV}"
  19. inherit cpan
  20. BBCLASSEXTEND = "native"