diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /meta-openembedded/meta-oe/recipes-support/libjs | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-support/libjs')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery_1.7.2.bb | 25 | ||||
-rw-r--r-- | meta-openembedded/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb | 19 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery_1.7.2.bb b/meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery_1.7.2.bb new file mode 100644 index 0000000000..7f425cdeab --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery_1.7.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "JavaScript library for dynamic web applications" +HOMEPAGE = "https://jquery.com/" +LICENSE = "MIT | BSD | GPL-2" +LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=5d1ec6f95e0a91d38e2f71de93ddb00e" + +SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}+debian-1ubuntu1~ubuntu12.04.1_all.deb;subdir=${BP}" +SRC_URI[md5sum] = "fa511ab67f6e960c5b6d39a4d665e47f" +SRC_URI[sha256sum] = "190ca18a71e35c8ab2ba73fe5be3c7cc601fe20b45709d801110818f1b602cc1" + +JQUERYDIR = "${datadir}/javascript/jquery" +JQUERYDOCDIR = "${docdir}/libjs-jquery" + +do_install() { + install -d -m 0755 ${D}${JQUERYDIR} + install -m 0644 ${S}${JQUERYDIR}/jquery.js ${D}${JQUERYDIR}/ + install -m 0644 ${S}${JQUERYDIR}/jquery.min.js ${D}${JQUERYDIR}/ + + ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.lite.js + ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.pack.js + + install -d -m 0644 ${D}${JQUERYDOCDIR} + install -m 0644 ${S}${JQUERYDOCDIR}/copyright ${D}${JQUERYDOCDIR}/ +} + +FILES_${PN} = "/usr/share/javascript/jquery" diff --git a/meta-openembedded/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb b/meta-openembedded/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb new file mode 100644 index 0000000000..4928b6c3a7 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb @@ -0,0 +1,19 @@ +SUMMARY = "Pure-JavaScript CSS selector engine" +HOMEPAGE = "https://github.com/jquery/sizzle/wiki" +LICENSE = "GPL-2.0 & MIT & AFL-2.1" +LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9" + +SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz" +SRC_URI[md5sum] = "91477c1edeef9f8100ffd6c4d31725b5" +SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8" + +S = "${WORKDIR}/sizzle-${PV}" + +SIZZLEDIR = "${S}/dist" + +do_install() { + install -d -m 0755 ${D}/${datadir}/javascript/sizzle/ + install -m 0644 ${SIZZLEDIR}/*.js ${D}/${datadir}/javascript/sizzle/ +} + +FILES_${PN} = "${datadir}/javascript/sizzle/" |