[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,25 @@
config BR2_PACKAGE_JQUERY_MOBILE
bool "jquery-mobile"
help
jQuery-Mobile is a unified, HTML5-based user interface
system for all popular mobile device platforms, built on the
rock-solid jQuery and jQuery UI foundation. Its lightweight
code is built with progressive enhancement, and has a
flexible, easily themeable design.
http://jquerymobile.com
if BR2_PACKAGE_JQUERY_MOBILE
config BR2_PACKAGE_JQUERY_MOBILE_FULL
bool "jquery-mobile development files"
help
Installs the development versions.
config BR2_PACKAGE_JQUERY_MOBILE_DEMOS
bool "jquery-mobile demo files"
help
Installs the demo files.
The main demo page is http://hostname/demos/index.html
endif

View File

@ -0,0 +1,2 @@
# locally computed
sha256 7ed156b191dc3e262e3f450aede43adfb738ff0085afed87eb18fe4f43dfc681 jquery.mobile-1.4.3.zip

View File

@ -0,0 +1,47 @@
################################################################################
#
# jquery-mobile
#
################################################################################
JQUERY_MOBILE_VERSION = 1.4.3
JQUERY_MOBILE_SITE = http://jquerymobile.com/resources/download
JQUERY_MOBILE_SOURCE = jquery.mobile-$(JQUERY_MOBILE_VERSION).zip
JQUERY_MOBILE_LICENSE = MIT
define JQUERY_MOBILE_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(JQUERY_MOBILE_DL_DIR)/$(JQUERY_MOBILE_SOURCE)
endef
JQUERY_MOBILE_INSTALLED_FILES = \
jquery.mobile.structure-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile.theme-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.map \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.js
ifeq ($(BR2_PACKAGE_JQUERY_MOBILE_FULL),y)
JQUERY_MOBILE_INSTALLED_FILES += \
jquery.mobile.structure-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile.theme-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).js
endif
ifeq ($(BR2_PACKAGE_JQUERY_MOBILE_DEMOS),y)
define JQUERY_MOBILE_INSTALL_DEMOS
mkdir -p $(TARGET_DIR)/var/www/demos
cp -r $(@D)/demos/* $(TARGET_DIR)/var/www/demos
endef
endif
define JQUERY_MOBILE_INSTALL_TARGET_CMDS
for f in $(JQUERY_MOBILE_INSTALLED_FILES) ; do \
$(INSTALL) -m 0644 -D $(@D)/$$f $(TARGET_DIR)/var/www/$$f || break ; \
done
mkdir -p $(TARGET_DIR)/var/www/images
cp -r $(@D)/images/* $(TARGET_DIR)/var/www/images
$(JQUERY_MOBILE_INSTALL_DEMOS)
endef
$(eval $(generic-package))