58a73c6ab5
Add the jquery-keyboard package based on Simon Dawson's patch with a newer version and improvements (license, select jquery, install layouts). [Peter: don't use install -D when destination is a directory] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
26 lines
833 B
Makefile
26 lines
833 B
Makefile
#############################################################
|
|
#
|
|
# jquery-keyboard
|
|
#
|
|
#############################################################
|
|
|
|
JQUERY_KEYBOARD_VERSION = 1.17.4
|
|
JQUERY_KEYBOARD_SITE = \
|
|
http://github.com/Mottie/Keyboard/tarball/v$(JQUERY_KEYBOARD_VERSION)
|
|
JQUERY_KEYBOARD_LICENSE = MIT WTFPL
|
|
JQUERY_KEYBOARD_LICENSE_FILES = README.markdown
|
|
|
|
define JQUERY_KEYBOARD_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/css/keyboard.css \
|
|
$(TARGET_DIR)/var/www/css/keyboard.css
|
|
$(INSTALL) -m 0644 $(@D)/js/jquery.keyboard*.js \
|
|
$(TARGET_DIR)/var/www
|
|
$(INSTALL) -m 0644 -D $(@D)/js/jquery.mousewheel.js \
|
|
$(TARGET_DIR)/var/www/jquery.mousewheel.js
|
|
$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/layouts
|
|
$(INSTALL) -m 0644 $(@D)/layouts/*.js \
|
|
$(TARGET_DIR)/var/www/layouts
|
|
endef
|
|
|
|
$(eval $(call generic-package))
|