diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb | 24 |
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 @@ | |||
1 | SUMMARY = "JavaScript library for dynamic web applications" | ||
2 | LICENSE = "GPLv2+ & MIT" | ||
3 | LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=2b490904c50a58472452b6e9e1c81203" | ||
4 | |||
5 | SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}-1ubuntu1_all.deb;subdir=${BP}" | ||
6 | SRC_URI[md5sum] = "1ac8a9e4dfe18de22e65baec3dd53f8b" | ||
7 | SRC_URI[sha256sum] = "0551e20c88035d80c00b552707573d62ee89e8e5a204d8b427a6020b065e2542" | ||
8 | |||
9 | JQUERYDIR = "${datadir}/javascript/jquery" | ||
10 | JQUERYDOCDIR = "${docdir}/libjs-jquery" | ||
11 | |||
12 | do_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 | |||
24 | FILES_${PN} = "/usr/share/javascript/jquery" | ||