From 1d13f383c629f0299e449a20de403b2f711a902f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 26 May 2015 10:44:42 +0000
Subject: [PATCH] new components: gperftools and libunwind

---
 component/gperftools/buildout.cfg | 16 ++++++++++++++++
 component/libunwind/buildout.cfg  |  9 +++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 component/gperftools/buildout.cfg
 create mode 100644 component/libunwind/buildout.cfg

diff --git a/component/gperftools/buildout.cfg b/component/gperftools/buildout.cfg
new file mode 100644
index 000000000..1e9f7101d
--- /dev/null
+++ b/component/gperftools/buildout.cfg
@@ -0,0 +1,16 @@
+[buildout]
+extends =
+  ../libunwind/buildout.cfg
+parts =
+  gperftools
+
+[gperftools]
+recipe = slapos.recipe.cmmi
+version = 2.4
+url = https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.4.tar.gz
+md5sum = 2171cea3bbe053036fb5d5d25176a160
+environment =
+  CPPFLAGS=-I${libunwind:location}/include
+  LDFLAGS=-L${libunwind:location}/lib -Wl,-rpath=${libunwind:location}/lib
+configure-options =
+  --enable-libunwind
diff --git a/component/libunwind/buildout.cfg b/component/libunwind/buildout.cfg
new file mode 100644
index 000000000..acac0332c
--- /dev/null
+++ b/component/libunwind/buildout.cfg
@@ -0,0 +1,9 @@
+[buildout]
+parts =
+  libunwind
+
+[libunwind]
+recipe = hexagonit.recipe.cmmi
+version = 1.1
+url = http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
+md5sum = fb4ea2f6fbbe45bf032cd36e586883ce
-- 
2.30.9