summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-06-17 14:04:39 +0000
committerTom William Payne <twp@gentoo.org>2003-06-17 14:04:39 +0000
commit26c98ef5bbd1250918e4f26f29517fbbb842353d (patch)
treed2859d925dbf7832c3556841cafee25d76d385ae /dev-lang
parentAdded PROVIDES (diff)
downloadhistorical-26c98ef5bbd1250918e4f26f29517fbbb842353d.tar.gz
historical-26c98ef5bbd1250918e4f26f29517fbbb842353d.tar.bz2
historical-26c98ef5bbd1250918e4f26f29517fbbb842353d.zip
Added PROVIDES
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby-cvs/Manifest4
-rw-r--r--dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r20
-rw-r--r--dev-lang/ruby-cvs/ruby-cvs-1.8.0-r2.ebuild44
3 files changed, 46 insertions, 2 deletions
diff --git a/dev-lang/ruby-cvs/Manifest b/dev-lang/ruby-cvs/Manifest
index ea02202623b8..1b25c578c6c3 100644
--- a/dev-lang/ruby-cvs/Manifest
+++ b/dev-lang/ruby-cvs/Manifest
@@ -1,5 +1,5 @@
-MD5 1f9d9d40be7f6516775daf2c34b991fc ruby-cvs-1.8.0-r2.ebuild 1063
-MD5 9678252aa0ace2fe8fad87395d64aac3 ChangeLog 563
+MD5 0d70609da3cbe594c75e5432ade00955 ruby-cvs-1.8.0-r2.ebuild 1063
+MD5 cd1679a938855164502cffdf2480a6bc ChangeLog 688
MD5 646e61ffebf8cdfaa0aa6d4b8e50c696 ruby-cvs-1.8.0-r1.ebuild 1028
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ruby-cvs-1.8.0-r2 0
MD5 535a925b80965479b99e8c38a3fe510d files/digest-ruby-cvs-1.8.0-r1 68
diff --git a/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r2 b/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r2
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r2
diff --git a/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r2.ebuild b/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r2.ebuild
new file mode 100644
index 000000000000..07227d9d70c3
--- /dev/null
+++ b/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r2.ebuild
@@ -0,0 +1,44 @@
+# 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-cvs/ruby-cvs-1.8.0-r2.ebuild,v 1.1 2003/06/17 14:04:23 twp Exp $
+
+DESCRIPTION="An object-oriented scripting language"
+SRC_URI=""
+HOMEPAGE="http://www.ruby-lang.org/"
+LICENSE="Ruby"
+KEYWORDS="~alpha ~arm ~hppa ~mips ~ppc ~sparc ~x86"
+SLOT="0"
+PROVIDE="dev-lang/ruby-${PV}
+ dev-ruby/rexml
+ dev-ruby/optparse"
+
+DEPEND=">=sys-libs/glibc-2.1.3
+ >=sys-libs/gdbm-1.8.0
+ >=sys-libs/readline-4.1
+ >=sys-libs/ncurses-5.2"
+
+ECVS_SERVER="cvs.ruby-lang.org:/src"
+ECVS_MODULE="ruby"
+ECVS_AUTH="pserver"
+ECVS_PASS="anonymous"
+inherit cvs
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+src_compile() {
+
+ local ruby_version=`gawk '$2=="RUBY_VERSION" {print $3}' version.h | tr -d \"`
+ if [ "${PV}" != "${ruby_version}" ]; then
+ die "version mismatch"
+ fi
+
+ autoconf || die
+ CFLAGS=${CFLAGS/-fomit-frame-pointer/} econf
+ emake
+
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc COPYING* ChangeLog MANIFEST README* ToDo
+}