Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
25
buildroot/package/datatables/datatables.mk
Normal file
25
buildroot/package/datatables/datatables.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user