summaryrefslogtreecommitdiffstats
path: root/package/bootstrap
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2015-01-09 22:13:38 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-10 12:08:04 +0100
commit62ffb640b6ade91f13fc3709fa5489d59e4e1471 (patch)
tree093080b05d8b1cc5a475a9d4b868e054808f83eb /package/bootstrap
parent8e29b46b60f2c1412338a1fc5967897f0da91c7c (diff)
downloadbuildroot-62ffb640b6ade91f13fc3709fa5489d59e4e1471.tar.gz
buildroot-62ffb640b6ade91f13fc3709fa5489d59e4e1471.zip
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>
Diffstat (limited to 'package/bootstrap')
-rw-r--r--package/bootstrap/Config.in7
-rw-r--r--package/bootstrap/bootstrap.hash2
-rw-r--r--package/bootstrap/bootstrap.mk21
3 files changed, 30 insertions, 0 deletions
diff --git a/package/bootstrap/Config.in b/package/bootstrap/Config.in
new file mode 100644
index 0000000000..743d8a324a
--- /dev/null
+++ b/package/bootstrap/Config.in
@@ -0,0 +1,7 @@
+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
diff --git a/package/bootstrap/bootstrap.hash b/package/bootstrap/bootstrap.hash
new file mode 100644
index 0000000000..acb06b4246
--- /dev/null
+++ b/package/bootstrap/bootstrap.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 95ca4a02aff37570660c81a87065b53ebc281c33fa86b91a6a7a650eee10678f bootstrap-3.3.1-dist.zip
diff --git a/package/bootstrap/bootstrap.mk b/package/bootstrap/bootstrap.mk
new file mode 100644
index 0000000000..1bf8aa23a1
--- /dev/null
+++ b/package/bootstrap/bootstrap.mk
@@ -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))
OpenPOWER on IntegriCloud