summaryrefslogtreecommitdiff
blob: d3e29ce2943fda6c8dca9b87c41949b9cc480e1d (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/amstd-1.9.5.ebuild,v 1.10 2003/02/28 16:54:59 liquidx Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Standard libraries for Ruby"
SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${P}.tar.gz"
HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
LICENSE="LGPL-2.1"
KEYWORDS="x86 alpha"
SLOT="0"

DEPEND=">=dev-lang/ruby-1.6.1"

src_compile() {
	ruby setup.rb config || die
	ruby setup.rb setup || die
}

src_install () {
	ruby setup.rb install --bin-dir=${D}/usr/bin 			\
	     --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 			\
	     --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
	assert
}