# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 USE_RUBY="ruby21 ruby22" inherit cmake-utils eutils multilib ruby-ng DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${S}/all/${P}" LICENSE="Apache-2.0" SLOT="0" IUSE="debug test" KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" BDEPEND=" >=sys-devel/gcc-4.8:* >=dev-libs/leatherman-1.0.0 dev-cpp/cpp-hocon" CDEPEND=" dev-libs/openssl:* sys-apps/util-linux app-emulation/virt-what net-misc/curl >=dev-libs/boost-1.54[nls] >=dev-cpp/yaml-cpp-0.5.1 ! "${D}/etc/env.d/00facterdir" fperms 0644 /etc/env.d/00facterdir }