blob: b6147ffeb227a6cd77d28a44057a041db7a6a4e3 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001DESCRIPTION = "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data"
2SECTION = "console/network"
3HOMEPAGE = "https://github.com/globalizejs/globalize"
4LICENSE = "MIT"
5
6S = "${WORKDIR}/git"
7
8LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea"
9
Andrew Geissler595f6302022-01-24 19:11:47 +000010SRCREV = "771061fb35f7fd8d7c2c37f5d5bb26115be382bc"
11SRC_URI = "git://github.com/globalizejs/globalize;protocol=https;nobranch=1"
Andrew Geisslereff27472021-10-29 15:35:00 -050012
13FILES:${PN} = "${datadir}/javascript/jquery-globalize"
14FILES:${PN}-doc += "${docdir}/${PN}"
15
16do_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}