[buildout]
extends =
  ../zlib/buildout.cfg
parts = tcl

[tcl]
recipe = slapos.recipe.cmmi
url = https://prdownloads.sourceforge.net/tcl/tcl8.6.13-src.tar.gz
md5sum = 0e4358aade2f5db8a8b6f2f6d9481ec2
shared = true
environment =
  CPPFLAGS=-I${zlib:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -lm
pre-configure = rm -r pkgs/*/
configure-command = unix/configure
configure-options =
  --prefix=%(location)s
  --with-encoding=utf-8
