# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p160.ebuild,v 1.4 2009/05/24 12:11:25 flameeyes Exp $ #PATCHES APPLY, DOESN'T COMPILE THOUGH #ONIGURUMA="onigd2_5_9" inherit autotools eutils flag-o-matic multilib versionator SLOT=$(get_version_component_range 1-2) MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) MY_P="${PN}-$(replace_version_separator 3 '-')" S=${WORKDIR}/${MY_P} DESCRIPTION="An object-oriented scripting language" HOMEPAGE="http://www.ruby-lang.org/" SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2" # cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )" LICENSE="|| ( Ruby GPL-2 )" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs" #cjk RDEPEND=" berkdb? ( sys-libs/db ) gdbm? ( sys-libs/gdbm ) ssl? ( dev-libs/openssl ) socks5? ( >=net-proxy/dante-1.1.13 ) tk? ( dev-lang/tk ) app-admin/eselect-ruby !=dev-lang/ruby-cvs-${SLOT}* !