summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorQian Lei <qianl.fnst@cn.fujitsu.com>2014-12-04 17:38:46 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-17 12:55:39 +0100
commita320ed86918b88e32a3c95200470dcf9c508e9cf (patch)
tree38dae148a074f85d9ce7ec9e06f7452de9b4dec4 /meta-oe
parent8dbcae94bf676794ffd67e8fc77bfe2f627a42f6 (diff)
downloadmeta-openembedded-a320ed86918b88e32a3c95200470dcf9c508e9cf.tar.gz
libjs-jquery: Add new recipe
libjs-jquery is a javascript library for dynamic web application 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-jquery_1.7.1.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb b/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
new file mode 100644
index 000000000..cf7c2d54d
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
@@ -0,0 +1,24 @@
1SUMMARY = "JavaScript library for dynamic web applications"
2LICENSE = "GPLv2+ & MIT"
3LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=2b490904c50a58472452b6e9e1c81203"
4
5SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}-1ubuntu1_all.deb;subdir=${BP}"
6SRC_URI[md5sum] = "1ac8a9e4dfe18de22e65baec3dd53f8b"
7SRC_URI[sha256sum] = "0551e20c88035d80c00b552707573d62ee89e8e5a204d8b427a6020b065e2542"
8
9JQUERYDIR = "${datadir}/javascript/jquery"
10JQUERYDOCDIR = "${docdir}/libjs-jquery"
11
12do_install() {
13 install -d -m 0755 ${D}${JQUERYDIR}
14 install -m 0644 ${S}${JQUERYDIR}/jquery.js ${D}${JQUERYDIR}/
15 install -m 0644 ${S}${JQUERYDIR}/jquery.min.js ${D}${JQUERYDIR}/
16
17 ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.lite.js
18 ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.pack.js
19
20 install -d -m 0644 ${D}${JQUERYDOCDIR}
21 install -m 0644 ${S}${JQUERYDOCDIR}/copyright ${D}${JQUERYDOCDIR}/
22}
23
24FILES_${PN} = "/usr/share/javascript/jquery"