[buildout]

extends =
  ../gdbm/buildout.cfg
  ../openssl/buildout.cfg
  ../zlib/buildout.cfg
  ../readline/buildout.cfg
  ../ncurses/buildout.cfg
  ../libyaml/buildout.cfg

parts = ruby

[ruby-1.9.3]
recipe = slapos.recipe.cmmi
url = http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
md5sum = bc0c715c69da4d1d8bd57069c19f6c0e
configure-options =
  --enable-shared --enable-rpath
environment =
  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libyaml:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw  -I${gdbm:location}/include -I${openssl:location}/include
  LDFLAGS=-L${zlib:location}/lib -L${libyaml:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib  -L${gdbm:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${libyaml:location}/lib   -Wl,-rpath=${ncurses:location}/lib  -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib

[ruby-1.9]
<= ruby-1.9.3

[ruby]
<= ruby-1.9