30cce702e7
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>
23 lines
716 B
Makefile
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))
|