summaryrefslogtreecommitdiff
blob: 55467d321a4aab47998620599edcc0149ab8fd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/soap4r/soap4r-1.5.2.ebuild,v 1.4 2004/07/14 22:17:05 agriffis Exp $

inherit ruby

USE_RUBY="any"

MY_P=${P//./_}
DESCRIPTION="an implementation of SOAP 1.1"
HOMEPAGE="http://rrr.jin.gr.jp/rwiki?cmd=view;name=soap4r"
SRC_URI="http://rrr.jin.gr.jp/download/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

DEPEND="<dev-lang/ruby-1.8.1
	>=dev-ruby/devel-logger-1.0.1
	>=dev-ruby/http-access2-0j
	>=dev-ruby/rexml-2.5.3
	>=dev-ruby/uconv-0.4.10"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}

	cd ${S}
	cp install.rb ${T}
	sed -e "s:^RUBYLIBDIR = :RUBYLIBDIR = \"${D}\" + :" \
		-e "s:^SITELIBDIR = :SITELIBDIR = \"${D}\" + :" \
		${T}/install.rb > install.rb || die
}