kumquat-buildroot/package/jquery-keyboard/jquery-keyboard.mk
Jerzy Grzegorek df70822c62 package: cleanup github <pkg>{_VERSION, _SOURCE, _SITE} variable
According to the documentation, chapter
6.2.8.2 How to add a package from github
"
[...]
FOO_VERSION = tag or full commit ID
FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
[...]
- The tarball name generated by github matches the default one from
  Buildroot (...),
  so it is not necessary to specify it in the +.mk+ file.
"
This commit makes the appropriate changes.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-11-02 18:26:41 +01:00

26 lines
866 B
Makefile

################################################################################
#
# jquery-keyboard
#
################################################################################
JQUERY_KEYBOARD_VERSION = v1.17.7
JQUERY_KEYBOARD_SITE = \
http://github.com/Mottie/Keyboard/tarball/$(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 $(generic-package))