1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $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 $ |
4 |
|
5 |
EAPI=2 |
6 |
USE_RUBY="ruby18" |
7 |
|
8 |
inherit ruby-ng |
9 |
|
10 |
DESCRIPTION="Ruby utility collection by Minero Aoki" |
11 |
HOMEPAGE="http://www.loveruby.net/en/amstd.html" |
12 |
SRC_URI="http://www.loveruby.net/archive/amstd/${P}.tar.gz" |
13 |
|
14 |
LICENSE="LGPL-2.1" |
15 |
SLOT="0" |
16 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" |
17 |
|
18 |
IUSE="" |
19 |
|
20 |
each_ruby_configure() { |
21 |
${RUBY} install.rb config --prefix=/usr || die "config failed" |
22 |
${RUBY} install.rb setup || die "setup failed" |
23 |
} |
24 |
|
25 |
each_ruby_install() { |
26 |
${RUBY} install.rb config --prefix="${D}"/usr || die "config failed" |
27 |
${RUBY} install.rb install || die "install failed" |
28 |
} |
29 |
|
30 |
all_ruby_install() { |
31 |
dodoc README.en README.ja manual.rd.ja || die |
32 |
} |