blob: 4dc2e8041c0135a7c4f61bf4bc91cfe9eddfdba5 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "JavaScript library for dynamic web applications"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002HOMEPAGE = "https://jquery.com/"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003LICENSE = "MIT | BSD | GPL-2"
4LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=5d1ec6f95e0a91d38e2f71de93ddb00e"
5
6SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}+debian-1ubuntu1~ubuntu12.04.1_all.deb;subdir=${BP}"
7SRC_URI[md5sum] = "fa511ab67f6e960c5b6d39a4d665e47f"
8SRC_URI[sha256sum] = "190ca18a71e35c8ab2ba73fe5be3c7cc601fe20b45709d801110818f1b602cc1"
9
10JQUERYDIR = "${datadir}/javascript/jquery"
11JQUERYDOCDIR = "${docdir}/libjs-jquery"
12
13do_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 Williams213cb262021-08-07 19:21:33 -050025FILES:${PN} = "/usr/share/javascript/jquery"