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:
Yegor Yefremov
2015-07-28 20:14:27 +02:00
committed by Thomas Petazzoni
parent c2cb0c4205
commit 29ec58e06d
3 changed files with 28 additions and 0 deletions

View 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

View 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))