diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-05-03 10:11:05 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-04 13:05:37 +0200 |
commit | 58a73c6ab55d9eadaecfda3ea0ed23d07bb7fca7 (patch) | |
tree | f328b3fe0810d084f7f44c26a31a2a332c08ada4 /package/jquery-keyboard | |
parent | af1f14daa82867f6dd80d23ffcb4a9ca9ca00c80 (diff) | |
download | buildroot-novena-58a73c6ab55d9eadaecfda3ea0ed23d07bb7fca7.tar.gz buildroot-novena-58a73c6ab55d9eadaecfda3ea0ed23d07bb7fca7.zip |
jquery-keyboard: new package
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>
Diffstat (limited to 'package/jquery-keyboard')
-rw-r--r-- | package/jquery-keyboard/Config.in | 7 | ||||
-rw-r--r-- | package/jquery-keyboard/jquery-keyboard.mk | 25 |
2 files changed, 32 insertions, 0 deletions
diff --git a/package/jquery-keyboard/Config.in b/package/jquery-keyboard/Config.in new file mode 100644 index 000000000..ee976627e --- /dev/null +++ b/package/jquery-keyboard/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_JQUERY_KEYBOARD + bool "jQuery keyboard" + select BR2_PACKAGE_JQUERY + help + Virtual Keyboard using jQuery UI + + https://github.com/Mottie/Keyboard diff --git a/package/jquery-keyboard/jquery-keyboard.mk b/package/jquery-keyboard/jquery-keyboard.mk new file mode 100644 index 000000000..22d1a0098 --- /dev/null +++ b/package/jquery-keyboard/jquery-keyboard.mk @@ -0,0 +1,25 @@ +############################################################# +# +# 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)) |