From 6565dc4cae45f538c85eab1ea96689f53f69fcd8 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 3 Sep 2014 00:03:43 -0400
Subject: [PATCH] contrib: added boost header-only dependency for yaml-cpp

Will only be needed if building contrib on a system that doesn't package yaml-cpp.

Change-Id: I3ba71b52349ff33adfa324d7830a18bc953a68a6
---
 daemon/contrib/src/boost-headers/SHA512SUMS |  1 +
 daemon/contrib/src/boost-headers/rules.mak  | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 daemon/contrib/src/boost-headers/SHA512SUMS
 create mode 100644 daemon/contrib/src/boost-headers/rules.mak

diff --git a/daemon/contrib/src/boost-headers/SHA512SUMS b/daemon/contrib/src/boost-headers/SHA512SUMS
new file mode 100644
index 0000000000..e9f8fab96c
--- /dev/null
+++ b/daemon/contrib/src/boost-headers/SHA512SUMS
@@ -0,0 +1 @@
+a0ac451a51c5b183ee5625da66ccdbbc5a079d71c3d1bd7570e1e5f30a3f2f852a8e8237a60a3419ee72bcffdf4e1e7867d9d6ab91cf314db95df2142b70c008  boost-headers.tar.gz
diff --git a/daemon/contrib/src/boost-headers/rules.mak b/daemon/contrib/src/boost-headers/rules.mak
new file mode 100644
index 0000000000..1dfc64485a
--- /dev/null
+++ b/daemon/contrib/src/boost-headers/rules.mak
@@ -0,0 +1,14 @@
+# Boost headers (needed for building yaml-cpp)
+BOOST_HEADERS_URL = https://gitlab.savoirfairelinux.com/sfl-ports/boost-headers/repository/archive.tar.gz
+
+$(TARBALLS)/boost-headers.tar.gz:
+	$(call download,$(BOOST_HEADERS_URL))
+
+.sum-boost-headers: boost-headers.tar.gz
+
+boost-headers: boost-headers.tar.gz .sum-boost-headers
+	$(UNPACK)
+	mv boost-headers.git boost
+
+.boost-headers: boost-headers
+	touch $@
-- 
GitLab