aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@fujitsu.com>2021-10-22 23:34:40 +0800
committerKhem Raj <raj.khem@gmail.com>2021-10-21 22:43:41 -0700
commitc079140d43e6fa33b78cceb29a6bc8c7bf2e8405 (patch)
tree149c36be82011a183a62d0ecc3930256ef1fcc63
parentb29112a146be53a9aa10111867aa6452dc25a746 (diff)
downloadmeta-openembedded-contrib-c079140d43e6fa33b78cceb29a6bc8c7bf2e8405.tar.gz
meta-openembedded-contrib-c079140d43e6fa33b78cceb29a6bc8c7bf2e8405.tar.bz2
meta-openembedded-contrib-c079140d43e6fa33b78cceb29a6bc8c7bf2e8405.zip
libjs-jquery-globalize: Add recipe
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data. Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb b/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb
new file mode 100644
index 0000000000..a87c5bf758
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data"
+SECTION = "console/network"
+HOMEPAGE = "https://github.com/globalizejs/globalize"
+LICENSE = "MIT"
+
+S = "${WORKDIR}/git"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea"
+
+SRC_URI = "git://github.com/globalizejs/globalize;tag=1.7.0;nobranch=1"
+
+FILES:${PN} = "${datadir}/javascript/jquery-globalize"
+FILES:${PN}-doc += "${docdir}/${PN}"
+
+do_install() {
+ install -d ${D}${datadir}/javascript/jquery-globalize/
+ install -m 0644 ${S}/dist/*.js ${D}${datadir}/javascript/jquery-globalize/
+ install -m 0644 ${S}/dist/globalize/*.js ${D}${datadir}/javascript/jquery-globalize/
+
+ install -d ${D}${docdir}/${PN}/
+ install -m 0644 ${S}/LICENSE ${D}${docdir}/${PN}/
+}