Blame view

buildroot/buildroot-2016.08.1/package/jquery-ui-themes/jquery-ui-themes.mk 1.11 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  ################################################################################
  #
  # jquery-ui-themes
  #
  ################################################################################
  
  JQUERY_UI_THEMES_VERSION = 1.10.4
  JQUERY_UI_THEMES_SITE = http://jqueryui.com/resources/download
  JQUERY_UI_THEMES_SOURCE = jquery-ui-themes-$(JQUERY_UI_THEMES_VERSION).zip
  JQUERY_UI_THEMES_LICENSE = MIT
  JQUERY_UI_THEMES_LICENSE_FILES = MIT-LICENSE.txt
  JQUERY_UI_THEMES_DEPENDENCIES = jquery-ui
  
  define JQUERY_UI_THEMES_EXTRACT_CMDS
  	$(UNZIP) -d $(@D) $(DL_DIR)/$(JQUERY_UI_THEMES_SOURCE)
  	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 \
  		$(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/jquery-ui.css \
  		$(TARGET_DIR)/var/www/jquery-ui.css
  	$(INSTALL) -d $(TARGET_DIR)/var/www/images
  	cp -a $(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/images/*.png \
  		$(TARGET_DIR)/var/www/images
  	chmod 0644 $(TARGET_DIR)/var/www/images/*.png
  endef
  
  $(eval $(generic-package))