d17e856364
Drop spurious space added by commit
08c11e21a7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# datatables-responsive
|
|
#
|
|
################################################################################
|
|
|
|
DATATABLES_RESPONSIVE_VERSION = 2.2.3
|
|
DATATABLES_RESPONSIVE_SITE = https://datatables.net/releases
|
|
DATATABLES_RESPONSIVE_SOURCE = Responsive-$(DATATABLES_RESPONSIVE_VERSION).zip
|
|
DATATABLES_RESPONSIVE_LICENSE = MIT
|
|
DATATABLES_RESPONSIVE_LICENSE_FILES = License.txt
|
|
|
|
define DATATABLES_RESPONSIVE_EXTRACT_CMDS
|
|
$(UNZIP) $(DATATABLES_RESPONSIVE_DL_DIR)/$(DATATABLES_RESPONSIVE_SOURCE) -d $(@D)
|
|
mv $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)/* $(@D)
|
|
rmdir $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)
|
|
endef
|
|
|
|
define DATATABLES_RESPONSIVE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-responsive/css $(TARGET_DIR)/var/www/datatables-responsive/js
|
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/css $(@D)/css/*.min.css
|
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/js $(@D)/js/*.min.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|