endif
source "package/bootstrap/Config.in"
source "package/chartjs/Config.in"
+ source "package/datatables/Config.in"
source "package/duktape/Config.in"
source "package/explorercanvas/Config.in"
source "package/flot/Config.in"
--- /dev/null
+################################################################################
+#
+# datatables
+#
+################################################################################
+
+DATATABLES_VERSION = 1.10.20
+DATATABLES_SITE = https://datatables.net/releases
+DATATABLES_SOURCE = DataTables-$(DATATABLES_VERSION).zip
+DATATABLES_LICENSE = MIT
+DATATABLES_LICENSE_FILES = license.txt
+
+define DATATABLES_EXTRACT_CMDS
+ $(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D)
+ mv $(@D)/DataTables-$(DATATABLES_VERSION)/* $(@D)
+ rmdir $(@D)/DataTables-$(DATATABLES_VERSION)
+endef
+
+define DATATABLES_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables/css $(TARGET_DIR)/var/www/datatables/js
+ $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/css $(@D)/media/css/*.min.css
+ $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/js $(@D)/media/js/*.min.js
+endef
+
+$(eval $(generic-package))