summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2009-04-18 15:56:45 +0000
committerBenedikt Boehm <hollow@gentoo.org>2009-04-18 15:56:45 +0000
commit965c4d79c22424718ba5bd1c7318f8fcfc35b3a4 (patch)
tree11142d26c8ffe0cbf80649747080a32336113e4a /dev-ruby/facter/facter-1.5.2-r1.ebuild
parentstable amd64, bug 266562 (diff)
downloadgentoo-2-965c4d79c22424718ba5bd1c7318f8fcfc35b3a4.tar.gz
gentoo-2-965c4d79c22424718ba5bd1c7318f8fcfc35b3a4.tar.bz2
gentoo-2-965c4d79c22424718ba5bd1c7318f8fcfc35b3a4.zip
fix virtual detection for openvz and vserver
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-ruby/facter/facter-1.5.2-r1.ebuild')
-rw-r--r--dev-ruby/facter/facter-1.5.2-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/facter/facter-1.5.2-r1.ebuild b/dev-ruby/facter/facter-1.5.2-r1.ebuild
new file mode 100644
index 000000000000..f52a2546c8cb
--- /dev/null
+++ b/dev-ruby/facter/facter-1.5.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.5.2-r1.ebuild,v 1.1 2009/04/18 15:56:44 hollow Exp $
+
+inherit ruby
+
+DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
+LICENSE="GPL-2"
+HOMEPAGE="http://reductivelabs.com/projects/facter/index.html"
+SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+USE_RUBY="ruby18"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-virtual.patch
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ DESTDIR="${D}" ruby_einstall || die
+ DESTDIR="${D}" erubydoc
+}