1 ################################################################################
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
)
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
/
26 $(eval
$(generic-package
))