summaryrefslogtreecommitdiffstats
path: root/package/jquery-datetimepicker
diff options
context:
space:
mode:
Diffstat (limited to 'package/jquery-datetimepicker')
-rw-r--r--package/jquery-datetimepicker/Config.in8
-rw-r--r--package/jquery-datetimepicker/jquery-datetimepicker.mk19
2 files changed, 27 insertions, 0 deletions
diff --git a/package/jquery-datetimepicker/Config.in b/package/jquery-datetimepicker/Config.in
new file mode 100644
index 0000000000..6a07ec31c0
--- /dev/null
+++ b/package/jquery-datetimepicker/Config.in
@@ -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
diff --git a/package/jquery-datetimepicker/jquery-datetimepicker.mk b/package/jquery-datetimepicker/jquery-datetimepicker.mk
new file mode 100644
index 0000000000..e4d47997f1
--- /dev/null
+++ b/package/jquery-datetimepicker/jquery-datetimepicker.mk
@@ -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))
OpenPOWER on IntegriCloud