# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.2_rc2.ebuild,v 1.1 2010/07/14 20:44:46 flameeyes Exp $ EAPI=2 inherit autotools eutils flag-o-matic multilib versionator MY_P="${PN}-$(replace_version_separator 3 '-')" S=${WORKDIR}/${MY_P} SLOT=$(get_version_component_range 1-2) MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) # 1.8 and 1.9 series disagree on this RUBYVERSION=$(get_version_component_range 1-3) DESCRIPTION="An object-oriented scripting language" HOMEPAGE="http://www.ruby-lang.org/" SRC_URI="mirror://ruby/${MY_P}.tar.bz2 http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PVR}.tar.bz2" LICENSE="|| ( Ruby GPL-2 )" KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd" IUSE="berkdb debug doc examples gdbm ipv6 rubytests socks5 ssl tk xemacs ncurses +readline libedit" RDEPEND=" berkdb? ( sys-libs/db ) gdbm? ( sys-libs/gdbm ) ssl? ( dev-libs/openssl ) socks5? ( >=net-proxy/dante-1.1.13 ) tk? ( dev-lang/tk[threads] ) ncurses? ( sys-libs/ncurses ) libedit? ( dev-libs/libedit ) !libedit? ( readline? ( sys-libs/readline ) ) dev-libs/libffi sys-libs/zlib >=app-admin/eselect-ruby-20100402 !=dev-lang/ruby-cvs-${SLOT}* !