1 ################################################################################
5 ################################################################################
7 JQUERY_UI_VERSION
= 1.10.4
8 # Use buildroot mirror since upstream switched the zipfile and directory
9 # structure without bumping/renaming.
10 # Remember to switch back to jqueryui.com when bumping!
11 JQUERY_UI_SITE
= http
://sources.buildroot.net
12 JQUERY_UI_SOURCE
= jquery-ui-
$(JQUERY_UI_VERSION
).zip
13 JQUERY_UI_LICENSE
= MIT
14 JQUERY_UI_LICENSE_FILES
= MIT-LICENSE.txt
16 define JQUERY_UI_EXTRACT_CMDS
17 $(UNZIP
) -d
$(@D
) $(DL_DIR
)/$(JQUERY_UI_SOURCE
)
18 mv
$(@D
)/jquery-ui-
$(JQUERY_UI_VERSION
)/* $(@D
)
19 $(RM
) -r
$(@D
)/jquery-ui-
$(JQUERY_UI_VERSION
)
22 define JQUERY_UI_INSTALL_TARGET_CMDS
23 $(INSTALL
) -m
0644 -D
$(@D
)/ui
/minified
/jquery-ui.min.js \
24 $(TARGET_DIR
)/var
/www
/jquery-ui.js
25 $(INSTALL
) -m
0644 -D
$(@D
)/ui
/minified
/i18n
/jquery-ui-i18n.min.js \
26 $(TARGET_DIR
)/var
/www
/jquery-ui-i18n.js
27 $(INSTALL
) -m
0644 -D
$(@D
)/themes
/base
/minified
/jquery-ui.min.css \
28 $(TARGET_DIR
)/var
/www
/jquery-ui.css
29 $(INSTALL
) -d
$(TARGET_DIR
)/var
/www
/images
30 $(INSTALL
) -m
0644 -t
$(TARGET_DIR
)/var
/www
/images \
31 $(@D
)/themes
/base
/minified
/images
/*.png
34 $(eval
$(generic-package
))