kumquat-buildroot/package/jquery-ui/jquery-ui.mk
Jesse Van Gavere 86ec2b57f4 package/jquery-ui: bump to version 1.13.1
The contents of the license file have changed. It adds the following
details:

 - The code examples are distributed under CC0, but we do not install
   them.

 - The files in the node_modules and external directories is provided
   under its own license, but we do not install those files.

Hence, the license remains just MIT.

Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>
[Thomas: add details on license file change.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-08-24 12:15:48 +02:00

30 lines
934 B
Makefile

################################################################################
#
# jquery-ui
#
################################################################################
JQUERY_UI_VERSION = 1.13.1
JQUERY_UI_SITE = https://jqueryui.com/resources/download
JQUERY_UI_SOURCE = jquery-ui-$(JQUERY_UI_VERSION).zip
JQUERY_UI_LICENSE = MIT
JQUERY_UI_LICENSE_FILES = LICENSE.txt
define JQUERY_UI_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(JQUERY_UI_DL_DIR)/$(JQUERY_UI_SOURCE)
mv $(@D)/jquery-ui-$(JQUERY_UI_VERSION)/* $(@D)
$(RM) -r $(@D)/jquery-ui-$(JQUERY_UI_VERSION)
endef
define JQUERY_UI_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/jquery-ui.min.js \
$(TARGET_DIR)/var/www/jquery-ui.js
$(INSTALL) -m 0644 -D $(@D)/jquery-ui.min.css \
$(TARGET_DIR)/var/www/jquery-ui.css
$(INSTALL) -d $(TARGET_DIR)/var/www/images
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/images \
$(@D)/images/*.png
endef
$(eval $(generic-package))