summaryrefslogtreecommitdiffstats
path: root/package/bootstrap/bootstrap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/bootstrap/bootstrap.mk')
-rw-r--r--package/bootstrap/bootstrap.mk21
1 files changed, 21 insertions, 0 deletions
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