Files
buildroot/package/bootstrap/bootstrap.mk
Yegor Yefremov 62ffb640b6 bootstrap: new package
[Thomas: add 'cp -dpfr' instead of a convuluted use of 'tar c' + 'tar
x' do not a copy.]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-10 12:08:04 +01:00

22 lines
631 B
Makefile

################################################################################
#
# bootstrap
#
################################################################################
BOOTSTRAP_VERSION = 3.3.1
BOOTSTRAP_SITE = https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAP_VERSION)
BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip
BOOTSTRAP_LICENSE = MIT
define BOOTSTRAP_EXTRACT_CMDS
unzip $(DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D)
endef
define BOOTSTRAP_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/var/www/bootstrap
cp -dpfr $(@D)/dist/* $(TARGET_DIR)/var/www/bootstrap
endef
$(eval $(generic-package))