summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-08-06 01:19:28 +0000
committerAron Griffis <agriffis@gentoo.org>2003-08-06 01:19:28 +0000
commit7e320a49918ef744013937ae5dfdc9a23752a25c (patch)
treea92b98f4db5edc981f7d0f4ecca8e3f60dee8dea
parentUpdate to final 1.8.0 release (diff)
downloadgentoo-2-7e320a49918ef744013937ae5dfdc9a23752a25c.tar.gz
gentoo-2-7e320a49918ef744013937ae5dfdc9a23752a25c.tar.bz2
gentoo-2-7e320a49918ef744013937ae5dfdc9a23752a25c.zip
Update to final 1.8.0 release
-rw-r--r--dev-lang/ruby/ChangeLog7
-rw-r--r--dev-lang/ruby/Manifest4
-rw-r--r--dev-lang/ruby/files/digest-ruby-1.8.01
-rw-r--r--dev-lang/ruby/ruby-1.8.0.ebuild68
4 files changed, 77 insertions, 3 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog
index 76066d8999e6..861f61797e26 100644
--- a/dev-lang/ruby/ChangeLog
+++ b/dev-lang/ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/ruby
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.29 2003/08/01 03:23:26 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.30 2003/08/06 01:19:19 agriffis Exp $
+
+*ruby-1.8.0 (05 Aug 2003)
+
+ 05 Aug 2003; Aron Griffis <agriffis@gentoo.org> ruby-1.8.0.ebuild:
+ Update to final 1.8.0 release
*ruby-1.8.0_pre2-r3 (31 Jul 2003)
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index 29ad3723016a..589fe199e09d 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -3,11 +3,11 @@ MD5 471b92cdcbcb50a005ede9ce94f0e02f ruby-1.8.0_pre6.ebuild 1725
MD5 04392bcc2473d227418b7b3e270b016d ruby-1.8.0_pre2-r1.ebuild 1355
MD5 82d9c50cef376c52417fa7216313eba8 ruby-1.8.0_pre3.ebuild 1617
MD5 01a98e0ca365acd84ac041f656438b43 ruby-1.8.0_pre2-r3.ebuild 1504
-MD5 471b92cdcbcb50a005ede9ce94f0e02f ruby-1.8.0.ebuild 1725
+MD5 abe52a5e90481fb0707a3c5ddd7f6238 ruby-1.8.0.ebuild 1722
MD5 ef9c71d9410757bf0600fbdf04e4df73 ruby-1.8.0_pre5.ebuild 1824
MD5 958cf5a8d68f16da631b786ab4c2f6bb ruby-1.6.8-r1.ebuild 874
MD5 bff60050f38ea67025c965e1f04638eb ruby-1.6.8.ebuild 749
-MD5 6cba33731f086c245c3088a2912543f1 ChangeLog 3941
+MD5 401cc58280ae1287dcee755250d77d91 ChangeLog 4070
MD5 211b0c39947c50305f2caf71cf8bea14 ruby-1.8.0_pre2.ebuild 797
MD5 caf966a6ef6ab6ce75adc65514c4f3c7 ruby-1.8.0_pre2-r2.ebuild 1394
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
diff --git a/dev-lang/ruby/files/digest-ruby-1.8.0 b/dev-lang/ruby/files/digest-ruby-1.8.0
new file mode 100644
index 000000000000..6bc2df5cd820
--- /dev/null
+++ b/dev-lang/ruby/files/digest-ruby-1.8.0
@@ -0,0 +1 @@
+MD5 582a65e52598a4a1e9fce523e16e67d6 ruby-1.8.0.tar.gz 1979070
diff --git a/dev-lang/ruby/ruby-1.8.0.ebuild b/dev-lang/ruby/ruby-1.8.0.ebuild
new file mode 100644
index 000000000000..e6cc7b26b136
--- /dev/null
+++ b/dev-lang/ruby/ruby-1.8.0.ebuild
@@ -0,0 +1,68 @@
+# 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.ebuild,v 1.1 2003/08/06 01:19:19 agriffis Exp $
+
+inherit flag-o-matic eutils gnuconfig
+
+S=${WORKDIR}/${P%_pre*}
+DESCRIPTION="An object-oriented scripting language"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/${PV%.*}/${P/_pre/-preview}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~x86 ~alpha"
+IUSE="socks5 tcltk"
+
+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}
+
+ # 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
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "Warning: You might need to remerge vim if it doesn't work"
+ ewarn "with this version of ruby. If vim starts up okay, then"
+ ewarn "there is no need to remerge it."
+ ewarn
+}