package/datatables-fixedcolumns: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joeri Barbarien 2020-12-08 19:05:27 +01:00 committed by Thomas Petazzoni
parent d72ee289ef
commit c0a0e9b710
5 changed files with 40 additions and 0 deletions

View File

@ -2517,6 +2517,7 @@ F: package/cereal/
F: package/chartjs/
F: package/datatables/
F: package/datatables-buttons/
F: package/datatables-fixedcolumns/
F: package/jszip/
F: package/libtelnet/
F: package/opkg-utils/

View File

@ -1581,6 +1581,7 @@ endif
source "package/chartjs/Config.in"
source "package/datatables/Config.in"
source "package/datatables-buttons/Config.in"
source "package/datatables-fixedcolumns/Config.in"
source "package/duktape/Config.in"
source "package/explorercanvas/Config.in"
source "package/flot/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_DATATABLES_FIXEDCOLUMNS
bool "datatables-fixedcolumns"
depends on BR2_PACKAGE_DATATABLES
help
When making use of DataTables' x-axis scrolling feature
(scrollX), you may wish to fix the left or right most columns
in place. This extension for DataTables provides exactly this
option.
https://datatables.net/extensions/fixedcolumns

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 53a7b20ea9dbb6498137cb7260bde8605989ec578e4b71787f5ebc4ef9910bd9 FixedColumns-3.3.0.zip
sha256 e8e92f97216f9ea00cb2735b933a91ec8e3869bed37b6d63a90f76f41508f2de License.txt

View File

@ -0,0 +1,25 @@
################################################################################
#
# datatables-fixedcolumns
#
################################################################################
DATATABLES_FIXEDCOLUMNS_VERSION = 3.3.0
DATATABLES_FIXEDCOLUMNS_SITE = https://datatables.net/releases
DATATABLES_FIXEDCOLUMNS_SOURCE = FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION).zip
DATATABLES_FIXEDCOLUMNS_LICENSE = MIT
DATATABLES_FIXEDCOLUMNS_LICENSE_FILES = License.txt
define DATATABLES_FIXEDCOLUMNS_EXTRACT_CMDS
$(UNZIP) $(DATATABLES_FIXEDCOLUMNS_DL_DIR)/$(DATATABLES_FIXEDCOLUMNS_SOURCE) -d $(@D)
mv $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/* $(@D)
rmdir $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)
endef
define DATATABLES_FIXEDCOLUMNS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(TARGET_DIR)/var/www/datatables-fixedcolumns/js
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(@D)/css/*.min.css
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/js $(@D)/js/*.min.js
endef
$(eval $(generic-package))