Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "JavaScript library for dynamic web applications" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://jquery.com/" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 3 | LICENSE = "MIT | BSD | GPL-2" |
| 4 | LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=5d1ec6f95e0a91d38e2f71de93ddb00e" |
| 5 | |
| 6 | SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}+debian-1ubuntu1~ubuntu12.04.1_all.deb;subdir=${BP}" |
| 7 | SRC_URI[md5sum] = "fa511ab67f6e960c5b6d39a4d665e47f" |
| 8 | SRC_URI[sha256sum] = "190ca18a71e35c8ab2ba73fe5be3c7cc601fe20b45709d801110818f1b602cc1" |
| 9 | |
| 10 | JQUERYDIR = "${datadir}/javascript/jquery" |
| 11 | JQUERYDOCDIR = "${docdir}/libjs-jquery" |
| 12 | |
| 13 | do_install() { |
| 14 | install -d -m 0755 ${D}${JQUERYDIR} |
| 15 | install -m 0644 ${S}${JQUERYDIR}/jquery.js ${D}${JQUERYDIR}/ |
| 16 | install -m 0644 ${S}${JQUERYDIR}/jquery.min.js ${D}${JQUERYDIR}/ |
| 17 | |
| 18 | ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.lite.js |
| 19 | ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.pack.js |
| 20 | |
| 21 | install -d -m 0644 ${D}${JQUERYDOCDIR} |
| 22 | install -m 0644 ${S}${JQUERYDOCDIR}/copyright ${D}${JQUERYDOCDIR}/ |
| 23 | } |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | FILES:${PN} = "/usr/share/javascript/jquery" |