summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-07-26 16:53:13 +0000
committerTom William Payne <twp@gentoo.org>2003-07-26 16:53:13 +0000
commit46b27a0d72dbeb346a28753474b3936a1dda52da (patch)
tree434150e3813b994cb86b72ba72d429eaa0697a56 /dev-lang
parentVersion bump (diff)
downloadhistorical-46b27a0d72dbeb346a28753474b3936a1dda52da.tar.gz
historical-46b27a0d72dbeb346a28753474b3936a1dda52da.tar.bz2
historical-46b27a0d72dbeb346a28753474b3936a1dda52da.zip
Version bump
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby/Manifest4
-rw-r--r--dev-lang/ruby/files/digest-ruby-1.8.0_pre41
-rw-r--r--dev-lang/ruby/ruby-1.8.0_pre4.ebuild63
3 files changed, 66 insertions, 2 deletions
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index f1f2570471f9..29d6e55ff92b 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -1,4 +1,4 @@
-MD5 48dae1afb68a4798f36cb83a8162fdee ChangeLog 3067
+MD5 89264cee61d2f1f0db592545907432f8 ChangeLog 3180
MD5 34491a182f5f81f2468d799ee05dfd5d ruby-1.6.8-r1.ebuild 875
MD5 a357995f80c9f0c2a5c928ccf2e22fb6 ruby-1.6.8.ebuild 750
MD5 03860f14dbfb94fec12a4b8579f7bc1f ruby-1.8.0_pre2-r1.ebuild 1380
@@ -7,7 +7,7 @@ MD5 59904ebd31b17bdf842d34ecba1f4387 ruby-1.8.0_pre2-r3.ebuild 1524
MD5 557fc0b69af82ee16ef65e0be0cffb2b ruby-1.8.0_pre2.ebuild 810
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
MD5 0403378153bb43e860eff9011b1ad607 ruby-1.8.0_pre3.ebuild 1643
-MD5 0403378153bb43e860eff9011b1ad607 ruby-1.8.0_pre4.ebuild 1643
+MD5 a9a4efafdafd29c05cb3fd6244f89113 ruby-1.8.0_pre4.ebuild 1638
MD5 11702b3cb52c88daf5d3934e3a0c2e2a files/digest-ruby-1.6.8 63
MD5 11702b3cb52c88daf5d3934e3a0c2e2a files/digest-ruby-1.6.8-r1 63
MD5 2da205db4c1f8df1e100067e6c188543 files/digest-ruby-1.8.0_pre2 137
diff --git a/dev-lang/ruby/files/digest-ruby-1.8.0_pre4 b/dev-lang/ruby/files/digest-ruby-1.8.0_pre4
new file mode 100644
index 000000000000..2d7c2ece82b6
--- /dev/null
+++ b/dev-lang/ruby/files/digest-ruby-1.8.0_pre4
@@ -0,0 +1 @@
+MD5 c6e204136a1b07fee5599f0a613234c2 ruby-1.8.0-preview4.tar.gz 1777043
diff --git a/dev-lang/ruby/ruby-1.8.0_pre4.ebuild b/dev-lang/ruby/ruby-1.8.0_pre4.ebuild
new file mode 100644
index 000000000000..d571f95add56
--- /dev/null
+++ b/dev-lang/ruby/ruby-1.8.0_pre4.ebuild
@@ -0,0 +1,63 @@
+# 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_pre4.ebuild,v 1.1 2003/07/26 16:52:52 twp Exp $
+
+IUSE="socks5 tcltk"
+
+inherit flag-o-matic eutils gnuconfig
+
+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
+
+ # Enable build on alpha EV67
+ if use alpha; then
+ gnuconfig_update || die "gnuconfig_update failed"
+ fi
+}
+
+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
+}