Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "JavaScript library for dynamic web applications" |
| 2 | HOMEPAGE = "https://jquery.com/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | LICENSE = "GPL-2.0-only | MIT" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=04bfd6e5b918af29f2f79ce44527da62" |
| 5 | |
| 6 | SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}~dfsg-3_all.deb" |
| 7 | |
| 8 | SRC_URI[sha256sum] = "e04d192c2356e9d4c2b2c7d83fde9408713212b53c4d106e5b9e46c1a56da33b" |
| 9 | |
| 10 | JQUERYDIR = "${datadir}/javascript/jquery" |
| 11 | JQUERYDOCDIR = "${docdir}/libjs-jquery" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | install -d -m 0755 ${D}${JQUERYDIR} |
| 17 | install -m 0644 ${S}${JQUERYDIR}/jquery.js ${D}${JQUERYDIR}/ |
| 18 | install -m 0644 ${S}${JQUERYDIR}/jquery.min.js ${D}${JQUERYDIR}/ |
| 19 | |
| 20 | ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.lite.js |
| 21 | ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.pack.js |
| 22 | |
| 23 | install -d -m 0644 ${D}${JQUERYDOCDIR} |
| 24 | install -m 0644 ${S}${JQUERYDOCDIR}/copyright ${D}${JQUERYDOCDIR}/ |
| 25 | } |
| 26 | |
| 27 | FILES:${PN} = "/usr/share/javascript/jquery" |