summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-06-10 22:38:36 +0000
committerTom William Payne <twp@gentoo.org>2003-06-10 22:38:36 +0000
commitbaeb3caf379d55e344235593f3846c4f6b1179d6 (patch)
tree9b92090cef8ea379f9ce00b6f26e9a999c356244 /dev-lang
parentBug # 22446 (diff)
downloadgentoo-2-baeb3caf379d55e344235593f3846c4f6b1179d6.tar.gz
gentoo-2-baeb3caf379d55e344235593f3846c4f6b1179d6.tar.bz2
gentoo-2-baeb3caf379d55e344235593f3846c4f6b1179d6.zip
Bug # 22446
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby/Manifest2
-rw-r--r--dev-lang/ruby/files/digest-ruby-1.8.0_pre2-r31
-rw-r--r--dev-lang/ruby/ruby-1.8.0_pre2-r3.ebuild58
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index c477d0fb32c9..1acfbc7386cd 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -4,7 +4,7 @@ MD5 a357995f80c9f0c2a5c928ccf2e22fb6 ruby-1.6.8.ebuild 750
MD5 557fc0b69af82ee16ef65e0be0cffb2b ruby-1.8.0_pre2.ebuild 810
MD5 03860f14dbfb94fec12a4b8579f7bc1f ruby-1.8.0_pre2-r1.ebuild 1380
MD5 74581d9cf84f902656ab173bbf9ce48c ruby-1.8.0_pre2-r2.ebuild 1419
-MD5 36d219c0c8250c35fb763c3adc299cbb ruby-1.8.0_pre2-r3.ebuild 1509
+MD5 59904ebd31b17bdf842d34ecba1f4387 ruby-1.8.0_pre2-r3.ebuild 1524
MD5 11702b3cb52c88daf5d3934e3a0c2e2a files/digest-ruby-1.6.8-r1 63
MD5 11702b3cb52c88daf5d3934e3a0c2e2a files/digest-ruby-1.6.8 63
MD5 2da205db4c1f8df1e100067e6c188543 files/digest-ruby-1.8.0_pre2 137
diff --git a/dev-lang/ruby/files/digest-ruby-1.8.0_pre2-r3 b/dev-lang/ruby/files/digest-ruby-1.8.0_pre2-r3
new file mode 100644
index 000000000000..128aeef2c1e1
--- /dev/null
+++ b/dev-lang/ruby/files/digest-ruby-1.8.0_pre2-r3
@@ -0,0 +1 @@
+MD5 27d00977204a5892d385fd30809d119c ruby-1.8.0-preview2.tar.gz 1380771
diff --git a/dev-lang/ruby/ruby-1.8.0_pre2-r3.ebuild b/dev-lang/ruby/ruby-1.8.0_pre2-r3.ebuild
new file mode 100644
index 000000000000..74d0fe9b5416
--- /dev/null
+++ b/dev-lang/ruby/ruby-1.8.0_pre2-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.0_pre2-r3.ebuild,v 1.1 2003/06/10 22:38:16 twp Exp $
+
+IUSE="socks5 tcltk"
+
+inherit flag-o-matic eutils
+
+S=${WORKDIR}/${P%_pre*}
+DESCRIPTION="An object-oriented scripting language"
+SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${P/_pre/-preview}.tar.gz"
+HOMEPAGE="http://www.ruby-lang.org/"
+LICENSE="Ruby"
+KEYWORDS="~x86 ~alpha"
+SLOT="0"
+
+DEPEND=">=sys-libs/glibc-2.1.3
+ >=sys-libs/gdbm-1.8.0
+ >=sys-libs/readline-4.1
+ >=sys-libs/ncurses-5.2
+ socks5? ( >=net-misc/dante-1.1.13 )
+ tcltk? ( dev-lang/tk )
+ sys-apps/findutils"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+
+ # Allow Ruby to build correctly with Dante/SOCKS support.
+ epatch ${FILESDIR}/ruby-1.8.0_pre2-socks.patch
+}
+
+src_compile() {
+ local myconf='--enable-shared'
+
+ filter-flags -fomit-frame-pointer
+
+ # Socks support via dante
+ if use socks5; then
+ myconf="${myconf} --enable-socks"
+ else
+ # Socks support can't be disabled as long as SOCKS_SERVER is
+ # set and socks library is present, so need to unset
+ # SOCKS_SERVER in that case.
+ myconf="${myconf} --disable-socks"
+ unset SOCKS_SERVER
+ fi
+
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc COPYING* ChangeLog MANIFEST README* ToDo
+ # Fix perms on directories (bug # 22446)
+ find ${D} -type d -print0 | xargs -0 chmod 755
+}