python-treq: bump to version 16.12.0
[buildroot-gz.git] / package / bootstrap / bootstrap.mk
blob17752ce068eaba2f5a7868c2b23f4e7e79836fdd
1 ################################################################################
3 # bootstrap
5 ################################################################################
7 BOOTSTRAP_VERSION = 3.3.1
8 BOOTSTRAP_SITE = https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAP_VERSION)
9 BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip
10 BOOTSTRAP_LICENSE = MIT
12 define BOOTSTRAP_EXTRACT_CMDS
13 $(UNZIP) $(DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D)
14 endef
16 define BOOTSTRAP_INSTALL_TARGET_CMDS
17 $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap-theme.min.css \
18 $(TARGET_DIR)/var/www/bootstrap/css/bootstrap-theme.min.css
19 $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap.min.css \
20 $(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css
21 $(INSTALL) -m 0644 -D $(@D)/dist/js/bootstrap.min.js \
22 $(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js
23 cp -r $(@D)/dist/fonts $(TARGET_DIR)/var/www/bootstrap/
24 endef
26 $(eval $(generic-package))