2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-14 12:02:12 +02:00
|
|
|
#
|
|
|
|
# jquery-ui-themes
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-14 12:02:12 +02:00
|
|
|
|
2014-03-02 13:58:36 +01:00
|
|
|
JQUERY_UI_THEMES_VERSION = 1.10.4
|
2013-05-06 23:52:41 +02:00
|
|
|
JQUERY_UI_THEMES_SITE = http://jqueryui.com/resources/download
|
2012-06-14 12:02:12 +02:00
|
|
|
JQUERY_UI_THEMES_SOURCE = jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION).zip
|
2013-05-06 23:47:58 +02:00
|
|
|
JQUERY_UI_THEMES_LICENSE = MIT
|
|
|
|
JQUERY_UI_THEMES_LICENSE_FILES = MIT-LICENSE.txt
|
2012-06-14 12:02:12 +02:00
|
|
|
JQUERY_UI_THEMES_DEPENDENCIES = jquery-ui
|
|
|
|
|
|
|
|
define JQUERY_UI_THEMES_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) -d $(@D) $(JQUERY_UI_THEMES_DL_DIR)/$(JQUERY_UI_THEMES_SOURCE)
|
2012-06-14 12:02:12 +02:00
|
|
|
mv $(@D)/jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION)/* $(@D)
|
|
|
|
$(RM) -r $(@D)/jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define JQUERY_UI_THEMES_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0644 -D \
|
2013-05-07 02:09:16 +02:00
|
|
|
$(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/jquery-ui.css \
|
2012-06-14 12:02:12 +02:00
|
|
|
$(TARGET_DIR)/var/www/jquery-ui.css
|
|
|
|
$(INSTALL) -d $(TARGET_DIR)/var/www/images
|
2013-05-07 02:09:16 +02:00
|
|
|
cp -a $(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/images/*.png \
|
2012-06-14 12:02:12 +02:00
|
|
|
$(TARGET_DIR)/var/www/images
|
|
|
|
chmod 0644 $(TARGET_DIR)/var/www/images/*.png
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|