blob: bf02d1bc59e47ec8f82e7e55758e9a54881c388e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http-access2/http-access2-0j.ebuild,v 1.4 2003/07/12 13:03:10 aliz Exp $
MY_PV=${PV/0/}
MY_P=${PN}-${MY_PV}
DESCRIPTION="HTTP accessing library"
HOMEPAGE="http://rrr.jin.gr.jp/doc/http-access2/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/contrib/${MY_P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=dev-lang/ruby-1.6"
S=${WORKDIR}/${MY_P}
src_install() {
local sitelibdir=`ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]'`
insinto ${sitelibdir}
doins lib/*.rb
insinto ${sitelibdir}/http-access2
doins lib/http-access2/*.rb
}
|