blob: 7b4075afeaa9f3868e3bc6b241d8d72c5529717f (
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
33
34
35
36
37
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-augeas/ruby-augeas-0.3.0-r1.ebuild,v 1.1 2010/07/03 06:58:47 graaff Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_DOCDIR="doc/site/api"
RUBY_FAKEGEM_EXTRADOC="NEWS README.rdoc"
inherit multilib ruby-fakegem
DESCRIPTION="Ruby bindings for Augeas"
HOMEPAGE="http://augeas.net/"
SRC_URI="http://augeas.net/download/ruby/${P}.gem"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE=""
DEPEND="${DEPEND} >=app-admin/augeas-0.5.1"
RDEPEND="${RDEPEND} >=app-admin/augeas-0.5.1"
each_ruby_configure() {
${RUBY} -Cext/augeas extconf.rb || die
}
each_ruby_compile() {
emake -Cext/augeas || die
}
each_ruby_install() {
mv ext/augeas/_augeas$(get_modname) lib/ || die
each_fakegem_install
}
|