meta-openembedded/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

27 lines
907 B
BlitzBasic

SUMMARY = "A simple, lightweight JavaScript API for handling cookies."
HOMEPAGE = "https://github.com/js-cookie/js-cookie"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e16cf0e247d84f8999bf55865a9c98cf"
SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=https;branch=main"
SRCREV = "ab3f67fc4fad88cdf07b258c08e4164e06bf7506"
JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie"
JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie"
do_install() {
install -d ${D}${JQUERYCOOKIEDIR}
install -m 0644 ${S}/*.js ${D}${JQUERYCOOKIEDIR}
install -m 0644 ${S}/src/*.mjs ${D}${JQUERYCOOKIEDIR}
install -m 0644 ${S}/*.json ${D}${JQUERYCOOKIEDIR}
install -d ${D}${JQUERYCOOKIEDOCDIR}
install -m 0644 ${S}/*.md ${D}${JQUERYCOOKIEDOCDIR}
}
FILES:${PN} += "${datadir}/javascript/jquery-cookie"
FILES:${PN}-doc += "${docdir}/libjs-jquery-cookie"