mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-27 12:01:38 +01:00
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>
This commit is contained in:
parent
b29112a146
commit
c079140d43
|
|
@ -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}/
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user