# Template build file for 'ruby'.
pkgname=ruby
ruby_ver="1.9.2"
ruby_distpatchver="p180"
ruby_distver="${ruby_ver}-${ruby_distpatchver}"
version=${ruby_ver}${ruby_distpatchver}
wrksrc="${pkgname}-${ruby_distver}"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz"
build_style=gnu_configure
configure_args="--enable-shared --disable-rpath"
short_desc="Ruby programming language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9027a5abaaadc2af85005ed74aeb628ce2326441874bf3d4f1a842663cde04f4
long_desc="
 Ruby is the interpreted scripting language for quick and easy object
 oriented programming. It has many features to process text files and to
 do system management tasks (as in Perl). It is simple, straight-forward
 and extensible."

subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"

Add_dependency run glibc
Add_dependency run libdb
Add_dependency run gdbm
Add_dependency run libssl
Add_dependency run zlib
Add_dependency run readline
Add_dependency run ncursesw
Add_dependency run libffi

Add_dependency build db-devel
Add_dependency build gdbm-devel
Add_dependency build openssl-devel
Add_dependency build zlib-devel
Add_dependency build readline-devel
Add_dependency build ncursesw-devel
Add_dependency build libffi-devel
Add_dependency build groff
Add_dependency build doxygen
