From cca631b6f2d71bf594f6b8e65e0f8e244f9f6098 Mon Sep 17 00:00:00 2001
From: Antoine Catton <acatton@tiolive.com>
Date: Tue, 17 Jul 2012 14:50:12 +0900
Subject: [PATCH] Add lxc component

---
 component/lxc/buildout.cfg | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 component/lxc/buildout.cfg

diff --git a/component/lxc/buildout.cfg b/component/lxc/buildout.cfg
new file mode 100644
index 000000000..bd352f71b
--- /dev/null
+++ b/component/lxc/buildout.cfg
@@ -0,0 +1,19 @@
+[buildout]
+
+extends =
+  ../attr/buildout.cfg
+  ../libcap/buildout.cfg
+
+parts = lxc
+
+[lxc]
+<= lxc-0.8
+
+[lxc-0.8]
+recipe = hexagonit.recipe.cmmi
+url = http://downloads.sourceforge.net/project/lxc/lxc/lxc-0.8.0/lxc-0.8.0-rc1.tar.gz
+md5sum = 06ceecf4dbe1be988fc903ad8dd34d29
+environment =
+  PATH=%(PATH)s:${attr:location}/bin/:${libcap:location}/sbin/
+  CFLAGS=-I${libcap:location}/usr/include
+  LDFLAGS=-L${libcap:location}/lib/ -Wl,-rpath=${libcap:location}/lib/
-- 
2.30.9