173eabf3b6
cpe:2.3🅰️getbootstrap:bootstrap is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Agetbootstrap%3Abootstrap Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
1015 B
Makefile
29 lines
1015 B
Makefile
################################################################################
|
|
#
|
|
# bootstrap
|
|
#
|
|
################################################################################
|
|
|
|
BOOTSTRAP_VERSION = 4.3.1
|
|
BOOTSTRAP_SITE = https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAP_VERSION)
|
|
BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip
|
|
BOOTSTRAP_LICENSE = MIT
|
|
BOOTSTRAP_LICENSE_FILES = css/bootstrap.css
|
|
BOOTSTRAP_CPE_ID_VENDOR = getbootstrap
|
|
|
|
define BOOTSTRAP_EXTRACT_CMDS
|
|
$(UNZIP) $(BOOTSTRAP_DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D)
|
|
mv $(@D)/bootstrap-$(BOOTSTRAP_VERSION)-dist/* $(@D)
|
|
endef
|
|
|
|
define BOOTSTRAP_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css \
|
|
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css
|
|
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css.map \
|
|
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css.map
|
|
$(INSTALL) -m 0644 -D $(@D)/js/bootstrap.min.js \
|
|
$(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|