diff options
author | Qian Lei <qianl.fnst@cn.fujitsu.com> | 2014-12-10 15:50:37 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-17 12:55:39 +0100 |
commit | ef21dc66105ad80702700a0e3feddc74a0215f41 (patch) | |
tree | d910859b0f6f48560fd21cdf47a7fcc499442340 /meta-oe | |
parent | a320ed86918b88e32a3c95200470dcf9c508e9cf (diff) | |
download | meta-openembedded-ef21dc66105ad80702700a0e3feddc74a0215f41.tar.gz |
libjs-sizzle: Add new recipe
libjs-sizzle is a pure-javascript CSS selector engine
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 20 |
1 files changed, 20 insertions, 0 deletions
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 new file mode 100644 index 00000000000..ad0f9c64d5e --- /dev/null +++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb @@ -0,0 +1,20 @@ +SUMMARY = "Pure-JavaScript CSS selector engine" +LICENSE = "GPLv2+ & MIT & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a" + +SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}" +SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46" +SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35" + +SIZZLEDIR = "${datadir}/javascript/sizzle" +SIZZLEDOCDIR = "${docdir}/libjs-sizzle" + +do_install() { + install -d -m 0755 ${D}${SIZZLEDIR} + install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/ + install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/ + install -d -m 0755 ${D}${SIZZLEDOCDIR} + install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/ +} + +FILES_${PN} = "/usr/share/javascript/sizzle/" |