2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jquery
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2013-07-11 12:40:24 +02:00
|
|
|
JQUERY_VERSION = 1.10.2
|
2011-12-18 23:11:14 +01:00
|
|
|
JQUERY_SITE = http://code.jquery.com
|
|
|
|
JQUERY_SOURCE = jquery-$(JQUERY_VERSION).min.js
|
2013-04-12 04:15:23 +02:00
|
|
|
JQUERY_LICENSE = MIT
|
2011-12-18 23:11:14 +01:00
|
|
|
|
|
|
|
define JQUERY_EXTRACT_CMDS
|
|
|
|
cp $(DL_DIR)/$(JQUERY_SOURCE) $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define JQUERY_INSTALL_TARGET_CMDS
|
2011-12-20 11:24:29 +01:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/$(JQUERY_SOURCE) \
|
|
|
|
$(TARGET_DIR)/var/www/jquery.js
|
2011-12-18 23:11:14 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define JQUERY_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/var/www/jquery.js
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|