jquery-datetimepicker: new package
This package provides datetimepicker, datepicker and timepicker dropdown for web forms. [Thomas: - add <pkg>_LICENSE_FILES.] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c2cb0c4205
commit
29ec58e06d
|
@ -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
package/jquery-datetimepicker/Config.in
Normal file
8
package/jquery-datetimepicker/Config.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
package/jquery-datetimepicker/jquery-datetimepicker.mk
Normal file
19
package/jquery-datetimepicker/jquery-datetimepicker.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in a new issue