blob: 5fb51138a657fd007f9dec589cfac814996763c5 (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.5.7-r1.ebuild,v 1.6 2010/11/04 06:49:59 matsuu Exp $
EAPI="2"
inherit ruby
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
LICENSE="GPL-2"
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tar.gz"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
USE_RUBY="ruby18"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.7-fqdn.patch
epatch "${FILESDIR}"/${PN}-1.5.7-virtual.patch
}
src_compile() {
:
}
src_install() {
DESTDIR="${D}" ruby_einstall || die
DESTDIR="${D}" erubydoc
}
|