# Template build file for 'ruby'.
pkgname=ruby
_ruby_ver="1.9.3"
_ruby_distpatchver="p327"
_ruby_distver="${_ruby_ver}-${_ruby_distpatchver}"
version=${_ruby_ver}${_ruby_distpatchver}
revision=1
wrksrc="${pkgname}-${_ruby_distver}"
build_style=gnu-configure
configure_args="--enable-shared --disable-rpath
 DOXYGEN=/usr/bin/doxygen DOT=/usr/bin/dot PKG_CONFIG=/usr/bin/pkg-config"
makedepends="pkg-config bison groff doxygen graphviz ncurses-devel \
 readline-devel libffi-devel openssl-devel gdbm-devel libyaml-devel pango-devel"
short_desc="Ruby programming language"
homepage="http://www.ruby-lang.org/en/"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${_ruby_distver}.tar.bz2"
checksum=d989465242f9b11a8a3aa8cbd2c75a9b3a8c0ec2f14a087a0c7b51abf164e488
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"