summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-04-16 11:38:18 +0000
committerTom William Payne <twp@gentoo.org>2003-04-16 11:38:18 +0000
commitbb9a2474ac32a85ee1afc05ceaefaf7bceca9c82 (patch)
treee0f6b95cf7a40820a344a7bd74eda771d4d04661 /dev-lang
parentChanged description. Closes #19376. (diff)
downloadgentoo-2-bb9a2474ac32a85ee1afc05ceaefaf7bceca9c82.tar.gz
gentoo-2-bb9a2474ac32a85ee1afc05ceaefaf7bceca9c82.tar.bz2
gentoo-2-bb9a2474ac32a85ee1afc05ceaefaf7bceca9c82.zip
Fix src_install.
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby-cvs/ChangeLog6
-rw-r--r--dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r11
-rw-r--r--dev-lang/ruby-cvs/ruby-cvs-1.8.0-r1.ebuild42
3 files changed, 48 insertions, 1 deletions
diff --git a/dev-lang/ruby-cvs/ChangeLog b/dev-lang/ruby-cvs/ChangeLog
index b9e334b45d52..6e38ca66d547 100644
--- a/dev-lang/ruby-cvs/ChangeLog
+++ b/dev-lang/ruby-cvs/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for dev-lang/ruby-cvs
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-cvs/ChangeLog,v 1.1 2003/04/15 09:40:19 twp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-cvs/ChangeLog,v 1.2 2003/04/16 11:38:18 twp Exp $
*ruby-cvs-1.8.0 (15 Apr 2003)
+ 16 Apr 2003; Tom Payne <twp@gentoo.org> ruby-cvs-1.8.0-r1.ebuild :
+
+ Fixed src_install.
+
15 Apr 2003; Tom Payne <twp@gentoo.org> ruby-cvs-1.8.0.ebuild :
Initial commit. Bug # 18757.
diff --git a/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r1 b/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r1
new file mode 100644
index 000000000000..4156453de6ac
--- /dev/null
+++ b/dev-lang/ruby-cvs/files/digest-ruby-cvs-1.8.0-r1
@@ -0,0 +1 @@
+MD5 01dc69a1ff34b2c6f32a9b0e3b22dfa0 /ruby-cvs-1.8.0-r1.ebuild 1025
diff --git a/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r1.ebuild b/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..6a14cf4d83f3
--- /dev/null
+++ b/dev-lang/ruby-cvs/ruby-cvs-1.8.0-r1.ebuild
@@ -0,0 +1,42 @@
+# 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-r1.ebuild,v 1.1 2003/04/16 11:38:18 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}"
+
+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
+}