mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
8e29b46b60
commit
62ffb640b6
21
package/bootstrap/bootstrap.mk
Normal file
21
package/bootstrap/bootstrap.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user