2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-14 12:02:11 +02:00
|
|
|
#
|
|
|
|
# jquery-ui
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-14 12:02:11 +02:00
|
|
|
|
2014-03-02 13:58:35 +01:00
|
|
|
JQUERY_UI_VERSION = 1.10.4
|
2014-04-15 15:39:23 +02:00
|
|
|
# Use buildroot mirror since upstream switched the zipfile and directory
|
|
|
|
# structure without bumping/renaming.
|
|
|
|
# Remember to switch back to jqueryui.com when bumping!
|
|
|
|
JQUERY_UI_SITE = http://sources.buildroot.net
|
2012-06-14 12:02:11 +02:00
|
|
|
JQUERY_UI_SOURCE = jquery-ui-$(JQUERY_UI_VERSION).zip
|
2013-05-06 17:39:29 +02:00
|
|
|
JQUERY_UI_LICENSE = MIT
|
|
|
|
JQUERY_UI_LICENSE_FILES = MIT-LICENSE.txt
|
2012-06-14 12:02:11 +02:00
|
|
|
|
|
|
|
define JQUERY_UI_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) -d $(@D) $(JQUERY_UI_DL_DIR)/$(JQUERY_UI_SOURCE)
|
2012-06-14 12:02:11 +02:00
|
|
|
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)/ui/minified/jquery-ui.min.js \
|
|
|
|
$(TARGET_DIR)/var/www/jquery-ui.js
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/ui/minified/i18n/jquery-ui-i18n.min.js \
|
|
|
|
$(TARGET_DIR)/var/www/jquery-ui-i18n.js
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/themes/base/minified/jquery-ui.min.css \
|
|
|
|
$(TARGET_DIR)/var/www/jquery-ui.css
|
|
|
|
$(INSTALL) -d $(TARGET_DIR)/var/www/images
|
2015-01-16 08:53:30 +01:00
|
|
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/images \
|
|
|
|
$(@D)/themes/base/minified/images/*.png
|
2012-06-14 12:02:11 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|