blob: 1ed37ee73b557dcf675a42eceb95df242bb96390 [file] [log] [blame]
################################################################################
#
# jquery-validation
#
################################################################################
JQUERY_VALIDATION_VERSION = 1.19.5
JQUERY_VALIDATION_SITE = https://github.com/jquery-validation/jquery-validation/releases/download/$(JQUERY_VALIDATION_VERSION)
JQUERY_VALIDATION_SOURCE = jquery-validation-$(JQUERY_VALIDATION_VERSION).zip
JQUERY_VALIDATION_LICENSE = MIT
JQUERY_VALIDATION_LICENSE_FILES = LICENSE.md
JQUERY_VALIDATION_CPE_ID_VENDOR = jqueryvalidation
JQUERY_VALIDATION_CPE_ID_PRODUCT = jquery_validation
define JQUERY_VALIDATION_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(JQUERY_VALIDATION_DL_DIR)/$(JQUERY_VALIDATION_SOURCE)
endef
define JQUERY_VALIDATION_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/dist/jquery.validate.min.js \
$(TARGET_DIR)/var/www/jquery.validate.js
endef
$(eval $(generic-package))