summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-08-30 17:20:12 +0000
committerMamoru Komachi <usata@gentoo.org>2004-08-30 17:20:12 +0000
commit2a80d1f4254bd47f95253bf48e91495b53fc71d1 (patch)
tree23746fdcd454d5064cbb9969ef773ddd542f6ad6 /dev-ruby/ruby-config/ruby-config-0.3.1.ebuild
parentKeyworded ~sparc wrt #61980 (diff)
downloadhistorical-2a80d1f4254bd47f95253bf48e91495b53fc71d1.tar.gz
historical-2a80d1f4254bd47f95253bf48e91495b53fc71d1.tar.bz2
historical-2a80d1f4254bd47f95253bf48e91495b53fc71d1.zip
Make a symlink to /usr/bin/ri from /usr/bin/ri*
Diffstat (limited to 'dev-ruby/ruby-config/ruby-config-0.3.1.ebuild')
-rw-r--r--dev-ruby/ruby-config/ruby-config-0.3.1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ruby-config/ruby-config-0.3.1.ebuild b/dev-ruby/ruby-config/ruby-config-0.3.1.ebuild
new file mode 100644
index 000000000000..6007fff387df
--- /dev/null
+++ b/dev-ruby/ruby-config/ruby-config-0.3.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-config/ruby-config-0.3.1.ebuild,v 1.1 2004/08/30 17:20:12 usata Exp $
+
+inherit eutils
+
+DESCRIPTION="Utility to switch the ruby interpreter beging used"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~macos ~ppc64"
+IUSE=""
+
+DEPEND="virtual/ruby"
+RDEPEND="${DEPEND}
+ !<dev-ruby/ri-1.8b-r1"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp ${FILESDIR}/${PN}-0.3 .
+ epatch ${FILESDIR}/${P}.diff
+}
+
+src_install() {
+ newsbin ${PN}-0.3 ruby-config || die
+}