summaryrefslogtreecommitdiff
blob: 717c9a5b4b10bdaf19a2de449216efc49c4e338c (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amstd/amstd-2.0.0-r2.ebuild,v 1.5 2011/12/11 15:56:15 armin76 Exp $

EAPI=2
USE_RUBY="ruby18"

inherit ruby-ng

DESCRIPTION="Ruby utility collection by Minero Aoki"
HOMEPAGE="http://www.loveruby.net/en/amstd.html"
SRC_URI="http://www.loveruby.net/archive/amstd/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ~ppc ~ppc64 sparc x86"

IUSE=""

each_ruby_configure() {
	${RUBY} install.rb config --prefix=/usr || die "config failed"
	${RUBY} install.rb setup || die "setup failed"
}

each_ruby_install() {
	${RUBY} install.rb config --prefix="${D}"/usr || die "config failed"
	${RUBY} install.rb install || die "install failed"
}

all_ruby_install() {
	dodoc README.en README.ja manual.rd.ja || die
}