diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-08-19 14:27:33 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-31 20:07:59 +0200 |
commit | cb7fdc16d9eb43c1620aabab4f1f938ad27e9337 (patch) | |
tree | e126ea057df968119e27ba4b18948b685cad8c80 /meta-oe/recipes-support/libjs | |
parent | e956ce897bf179edfdfe40103cc6879d8f13dde9 (diff) | |
download | meta-openembedded-cb7fdc16d9eb43c1620aabab4f1f938ad27e9337.tar.gz |
libjs-sizzle: upgrade 1.9.3 -> 1.10.18
* Modify SRC_URI to avoid do_fetch failed.
* Modify LICENSE file,and the LICENSE has been changed.
* Replace the hardcoded strings "/usr/share"
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libjs')
-rw-r--r-- | meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb | 18 | ||||
-rw-r--r-- | meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 20 |
2 files changed, 18 insertions, 20 deletions
diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb new file mode 100644 index 000000000..92ab31f54 --- /dev/null +++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Pure-JavaScript CSS selector engine" | ||
2 | LICENSE = "GPL-2.0 & MIT & AFL-2.1" | ||
3 | LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9" | ||
4 | |||
5 | SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz" | ||
6 | SRC_URI[md5sum] = "91477c1edeef9f8100ffd6c4d31725b5" | ||
7 | SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8" | ||
8 | |||
9 | S = "${WORKDIR}/sizzle-${PV}" | ||
10 | |||
11 | SIZZLEDIR = "${S}/dist" | ||
12 | |||
13 | do_install() { | ||
14 | install -d -m 0755 ${D}/${datadir}/javascript/sizzle/ | ||
15 | install -m 0644 ${SIZZLEDIR}/*.js ${D}/${datadir}/javascript/sizzle/ | ||
16 | } | ||
17 | |||
18 | FILES_${PN} = "${datadir}/javascript/sizzle/" | ||
diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb deleted file mode 100644 index ad0f9c64d..000000000 --- a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SUMMARY = "Pure-JavaScript CSS selector engine" | ||
2 | LICENSE = "GPLv2+ & MIT & BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a" | ||
4 | |||
5 | SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}" | ||
6 | SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46" | ||
7 | SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35" | ||
8 | |||
9 | SIZZLEDIR = "${datadir}/javascript/sizzle" | ||
10 | SIZZLEDOCDIR = "${docdir}/libjs-sizzle" | ||
11 | |||
12 | do_install() { | ||
13 | install -d -m 0755 ${D}${SIZZLEDIR} | ||
14 | install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/ | ||
15 | install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/ | ||
16 | install -d -m 0755 ${D}${SIZZLEDOCDIR} | ||
17 | install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/ | ||
18 | } | ||
19 | |||
20 | FILES_${PN} = "/usr/share/javascript/sizzle/" | ||