From 1ccaf2d9dd867b39af5c0bd1d7b2f4fd62733d0b Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 21 Jul 2014 17:25:48 +0900
Subject: [PATCH] cleanup tcl recipe.

---
 component/tcl/buildout.cfg | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/component/tcl/buildout.cfg b/component/tcl/buildout.cfg
index 65e0f3dd0..2a1c060ae 100644
--- a/component/tcl/buildout.cfg
+++ b/component/tcl/buildout.cfg
@@ -1,17 +1,12 @@
 [buildout]
 parts = tcl
 
-[tcl-package]
-recipe = hexagonit.recipe.download
+[tcl]
+recipe = slapos.recipe.cmmi
 url = http://prdownloads.sourceforge.net/tcl/tcl8.5.13-src.tar.gz
 md5sum = fa3a9bf9b2d6ed2431f1baa46f4058b8
-strip-top-level-dir = true
-
-[tcl]
-recipe = plone.recipe.command
 location = ${buildout:parts-directory}/${:_buildout_section_name_}
-command = cd ${tcl-package:location}/unix &&
-  ./configure --prefix=${:location} &&
-  make &&
-  make test &&
-  make install
\ No newline at end of file
+configure-command = ./unix/configure
+configure-options =
+  --prefix=${:location}
+  --with-encoding=utf-8
-- 
2.30.9