summaryrefslogtreecommitdiff
blob: 67ee442384495e9b052da00c8bfb83cc076e7f93 (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-2012 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.8 2012/03/08 17:47:03 naota 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 ~x86-fbsd"

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
}