summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libjs
diff options
context:
space:
mode:
authorQian Lei <qianl.fnst@cn.fujitsu.com>2014-12-10 15:50:37 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-17 12:55:39 +0100
commitef21dc66105ad80702700a0e3feddc74a0215f41 (patch)
treed910859b0f6f48560fd21cdf47a7fcc499442340 /meta-oe/recipes-support/libjs
parenta320ed86918b88e32a3c95200470dcf9c508e9cf (diff)
downloadmeta-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/recipes-support/libjs')
-rw-r--r--meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb20
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 000000000..ad0f9c64d
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Pure-JavaScript CSS selector engine"
2LICENSE = "GPLv2+ & MIT & BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a"
4
5SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}"
6SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46"
7SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35"
8
9SIZZLEDIR = "${datadir}/javascript/sizzle"
10SIZZLEDOCDIR = "${docdir}/libjs-sizzle"
11
12do_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
20FILES_${PN} = "/usr/share/javascript/sizzle/"