[buildout]

extends =
  ../gdbm/buildout.cfg
  ../openssl/buildout.cfg
  ../zlib/buildout.cfg
  ../readline/buildout.cfg
  ../ncurses/buildout.cfg
  ../libyaml/buildout.cfg
  ../openssl/buildout.cfg
  ../ncurses/buildout.cfg
  ../readline/buildout.cfg
  ../zlib/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 --disable-install-doc
  --enable-pthread --enable-ipv6
  --with-ext=bigdecimal,continuation,curses,date,digest,dl,etc,fcntl,iconv,io,json,nkf,openssl,pathname,psych,pty,racc,readline,ripper,sdbm,socket,stringio,strscan,syck,syslog,zlib
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
  PKG_CONFIG_PATH=${libyaml:location}/lib/

[ruby-1.9]
<= ruby-1.9.3

[ruby]
