diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-13 20:44:49 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-13 20:44:49 +0000 |
commit | 41f52b07702acd24c26c240f876f7c6c9d2cf534 (patch) | |
tree | 2521fae00456856b6c00a908f1de7eff6e77959e /dev-ruby/rexml | |
parent | Fixes #1692 (diff) | |
download | gentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.tar.gz gentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.tar.bz2 gentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.zip |
Fixes #882
Diffstat (limited to 'dev-ruby/rexml')
-rw-r--r-- | dev-ruby/rexml/ChangeLog | 14 | ||||
-rw-r--r-- | dev-ruby/rexml/files/digest-rexml-1.2.5 | 1 | ||||
-rw-r--r-- | dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff | 19 | ||||
-rw-r--r-- | dev-ruby/rexml/rexml-1.2.5.ebuild | 22 |
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/rexml/ChangeLog b/dev-ruby/rexml/ChangeLog new file mode 100644 index 000000000000..051b578df209 --- /dev/null +++ b/dev-ruby/rexml/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-ruby/rexml +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rexml/ChangeLog,v 1.1 2002/04/13 20:44:49 karltk Exp $ + +*rexml-1.2.4 (13 Apr 2002) + + 13 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> rexml-1.2.4 files/digest-rexml-1.2.4 : + + REXML is an XML processor for the language Ruby. REXML is conformant (passes + 100% of the Oasis non-validating tests), and includes full XPath support. It + is reasonably fast, and is implemented in pure Ruby. Best of all, it has a + clean, intuitive API. + + Ebuild contributed by Aaron Malone <aaron@munge.net>. diff --git a/dev-ruby/rexml/files/digest-rexml-1.2.5 b/dev-ruby/rexml/files/digest-rexml-1.2.5 new file mode 100644 index 000000000000..3944ef1752ee --- /dev/null +++ b/dev-ruby/rexml/files/digest-rexml-1.2.5 @@ -0,0 +1 @@ +MD5 2d33d2177c4b00d719d3681e1e33dc2f rexml_1.2.5.tgz 163468 diff --git a/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff b/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff new file mode 100644 index 000000000000..90db3d8abc66 --- /dev/null +++ b/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff @@ -0,0 +1,19 @@ +diff -ruN rexml.old/bin/install.rb rexml/bin/install.rb +--- rexml.old/bin/install.rb Thu Jan 10 21:03:41 2002 ++++ rexml/bin/install.rb Wed Feb 27 18:36:47 2002 +@@ -8,8 +8,13 @@ + SRC = 'rexml' + + +-INSTDIR = File.join Config::CONFIG['sitedir'], +- "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}" ++if ENV["PORTAGETMP"] ++ INSTDIR = File.join ENV["PORTAGETMP"], Config::CONFIG['sitedir'], ++ "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}" ++else ++ INSTDIR = File.join Config::CONFIG['sitedir'], ++ "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}" ++end + DESTDIR = File.join INSTDIR, SRC + + opts = GetoptLong.new( [ "--uninstall", "-u", GetoptLong::NO_ARGUMENT ] ) diff --git a/dev-ruby/rexml/rexml-1.2.5.ebuild b/dev-ruby/rexml/rexml-1.2.5.ebuild new file mode 100644 index 000000000000..e38790e2c193 --- /dev/null +++ b/dev-ruby/rexml/rexml-1.2.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Aaron Malone <aaron@munge.net> +# Maintainer: Tools Team <tools@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rexml/rexml-1.2.5.ebuild,v 1.1 2002/04/13 20:44:49 karltk Exp $ + +A="rexml_1.2.5.tgz" +S="${WORKDIR}/rexml" +DESCRIPTION="Ruby Electric XML" +SRC_URI="http://www.germane-software.com/~ser/Software/archives/${A}" +HOMEPAGE="http://www.germane-software.com/~ser/Software/rexml/" +DEPEND=">=dev-lang/ruby-1.6.0" + +src_unpack () { + unpack ${A} + cd ${S}/bin + patch < ${FILESDIR}/${P}-gentoo.diff || die +} + +src_install () { + PORTAGETMP=${D} ruby bin/install.rb +} |