kumquat-buildroot/package/datatables-fixedcolumns/datatables-fixedcolumns.mk
Fabrice Fontaine 2bc1cfa2a3 package/datatables-fixedcolumns: drop spurious space
Drop spurious space added by commit
c0a0e9b710

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-30 17:06:44 +01:00

26 lines
1.1 KiB
Makefile

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