# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p0.ebuild,v 1.5 2011/12/29 17:07:46 jer Exp $ EAPI=2 #PATCHSET= inherit autotools eutils flag-o-matic multilib versionator RUBYPL=$(get_version_component_range 4) MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" S=${WORKDIR}/${MY_P} SLOT=$(get_version_component_range 1-2) MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) # 1.9.3 still uses 1.9.1 RUBYVERSION=1.9.1 if [[ -n ${PATCHSET} ]]; then if [[ ${PVR} == ${PV} ]]; then PATCHSET="${PV}-r0.${PATCHSET}" else PATCHSET="${PVR}.${PATCHSET}" fi else PATCHSET="${PVR}" fi DESCRIPTION="An object-oriented scripting language" HOMEPAGE="http://www.ruby-lang.org/" SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2 http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" LICENSE="|| ( Ruby BSD-2 )" KEYWORDS="~x86-macos" IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit # libedit support is removed everywhere because of this upstream bug: # http://redmine.ruby-lang.org/issues/show/3698 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 ) readline? ( sys-libs/readline ) yaml? ( dev-libs/libyaml ) virtual/libffi sys-libs/zlib >=app-admin/eselect-ruby-20100402 !