kumquat-buildroot/package/jquery-validation/jquery-validation.mk
Gustavo Zacarias 30cce702e7 jquery-validation: bump to version 1.12.0
Switch homepage and upstream source, add license file (just mentions
it's under MIT, better than none). Also fixes:
http://autobuild.buildroot.net/results/a2e/a2ed2efe09b12612247a21c5fa3c129f58c9afd8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29 10:31:33 +02:00

23 lines
716 B
Makefile

################################################################################
#
# jquery-validation
#
################################################################################
JQUERY_VALIDATION_VERSION = 1.12.0
JQUERY_VALIDATION_SITE = http://jqueryvalidation.org/files
JQUERY_VALIDATION_SOURCE = jquery-validation-$(JQUERY_VALIDATION_VERSION).zip
JQUERY_VALIDATION_LICENSE = MIT
JQUERY_VALIDATION_LICENSE_FILES = README.md
define JQUERY_VALIDATION_EXTRACT_CMDS
unzip -d $(@D) $(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))