Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | DESCRIPTION = "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data" |
| 2 | SECTION = "console/network" |
| 3 | HOMEPAGE = "https://github.com/globalizejs/globalize" |
| 4 | LICENSE = "MIT" |
| 5 | |
| 6 | S = "${WORKDIR}/git" |
| 7 | |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea" |
| 9 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 10 | SRCREV = "771061fb35f7fd8d7c2c37f5d5bb26115be382bc" |
| 11 | SRC_URI = "git://github.com/globalizejs/globalize;protocol=https;nobranch=1" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 12 | |
| 13 | FILES:${PN} = "${datadir}/javascript/jquery-globalize" |
| 14 | FILES:${PN}-doc += "${docdir}/${PN}" |
| 15 | |
| 16 | do_install() { |
| 17 | install -d ${D}${datadir}/javascript/jquery-globalize/ |
| 18 | install -m 0644 ${S}/dist/*.js ${D}${datadir}/javascript/jquery-globalize/ |
| 19 | install -m 0644 ${S}/dist/globalize/*.js ${D}${datadir}/javascript/jquery-globalize/ |
| 20 | |
| 21 | install -d ${D}${docdir}/${PN}/ |
| 22 | install -m 0644 ${S}/LICENSE ${D}${docdir}/${PN}/ |
| 23 | } |