Commit 29ec58e0 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Thomas Petazzoni
Browse files

jquery-datetimepicker: new package



This package provides datetimepicker, datepicker and timepicker
dropdown for web forms.

[Thomas:
  - add <pkg>_LICENSE_FILES.]

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent c2cb0c42
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -885,6 +885,7 @@ menu "Javascript"
	source "package/explorercanvas/Config.in"
	source "package/flot/Config.in"
	source "package/jquery/Config.in"
	source "package/jquery-datetimepicker/Config.in"
	source "package/jquery-keyboard/Config.in"
	source "package/jquery-mobile/Config.in"
	source "package/jquery-sparkline/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_JQUERY_DATETIMEPICKER
	bool "jquery-datetimepicker"
	select BR2_PACKAGE_JQUERY
	help
	  Use this plugin to unobtrusively add a datetimepicker,
	  datepicker or timepicker dropdown to your forms.

	  http://xdsoft.net/jqplugins/datetimepicker
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# jquery-datetimepicker
#
################################################################################

JQUERY_DATETIMEPICKER_VERSION = 2.4.5
JQUERY_DATETIMEPICKER_SITE = $(call github,xdan,datetimepicker,$(JQUERY_DATETIMEPICKER_VERSION))
JQUERY_DATETIMEPICKER_LICENSE = MIT
JQUERY_DATETIMEPICKER_LICENSE_FILES = MIT-LICENSE.txt

define JQUERY_DATETIMEPICKER_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0644 -D $(@D)/jquery.datetimepicker.css \
		$(TARGET_DIR)/var/www/jquery-plugins/datetimepicker/jquery.datetimepicker.css
	$(INSTALL) -m 0644 -D $(@D)/jquery.datetimepicker.js \
		$(TARGET_DIR)/var/www/jquery-plugins/datetimepicker/jquery.datetimepicker.js
endef

$(eval $(generic-package))