2015-01-09 22:13:38 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# bootstrap
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-04-20 13:30:04 +02:00
|
|
|
BOOTSTRAP_VERSION = 4.1.0
|
2015-01-09 22:13:38 +01:00
|
|
|
BOOTSTRAP_SITE = https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAP_VERSION)
|
|
|
|
BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip
|
|
|
|
BOOTSTRAP_LICENSE = MIT
|
2018-02-05 00:16:00 +01:00
|
|
|
BOOTSTRAP_LICENSE_FILES = css/bootstrap.css
|
2015-01-09 22:13:38 +01:00
|
|
|
|
|
|
|
define BOOTSTRAP_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) $(BOOTSTRAP_DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D)
|
2015-01-09 22:13:38 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define BOOTSTRAP_INSTALL_TARGET_CMDS
|
2017-05-24 17:32:39 +02:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css \
|
2015-01-13 00:30:37 +01:00
|
|
|
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css
|
2018-04-20 13:30:04 +02:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css.map \
|
|
|
|
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css.map
|
2017-05-24 17:32:39 +02:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/js/bootstrap.min.js \
|
2015-01-13 00:30:37 +01:00
|
|
|
$(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js
|
2015-01-09 22:13:38 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|