Commit 62ffb640 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Thomas Petazzoni
Browse files

bootstrap: new package



[Thomas: add 'cp -dpfr' instead of a convuluted use of 'tar c' + 'tar
x' do not a copy.]

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8e29b46b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -740,6 +740,7 @@ menu "Hardware handling"
endmenu

menu "Javascript"
	source "package/bootstrap/Config.in"
	source "package/explorercanvas/Config.in"
	source "package/flot/Config.in"
	source "package/jquery/Config.in"
+7 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_BOOTSTRAP
	bool "bootstrap"
	help
	  Bootstrap is the most popular HTML, CSS, and JS framework
	  for developing responsive, mobile first projects on the web.

	  http://getbootstrap.com
+2 −0
Original line number Diff line number Diff line
# Locally computed:
sha256  95ca4a02aff37570660c81a87065b53ebc281c33fa86b91a6a7a650eee10678f  bootstrap-3.3.1-dist.zip
+21 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))