![Maxime Hadjinlian](/assets/img/avatar_default.png)
Instead of DL_DIR, the package should now use $(PKG)_DL_DIR to ease the transition into a new directory structure for DL_DIR. This commit has been generated with the following scripts: for i in $(find . -iname "*.mk"); do if ! grep -q "\$(DL_DIR)" ${i}; then continue fi pkg_name="$(basename $(dirname ${i}))" [ "${pkg_name}" = "package" ] && continue raw_pkg_name=$(echo ${pkg_name} | tr [a-z] [A-Z] | tr '-' '_') pkg_dl_dir="${raw_pkg_name}_DL_DIR" sed -i "s/\$(DL_DIR)/\$($pkg_dl_dir)/" ${i} done Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# 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) $(JQUERY_UI_THEMES_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))
|