1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 AUTOTOOLS_IN_SOURCE_BUILD=1
9 USE_RUBY="ruby20 ruby21"
12 PYTHON_COMPAT=(python2_7 python3_{3,4})
14 inherit autotools-utils eutils perl-app ruby-ng python-single-r1
16 DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
17 HOMEPAGE="http://libguestfs.org"
18 SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
22 KEYWORDS="~amd64 ~x86"
23 IUSE="ocaml readline +perl python test static-libs ruby"
29 ocaml? ( dev-lang/ocaml[ocamlopt]
30 dev-ml/findlib[ocamlopt]
32 readline? ( sys-libs/readline )
33 perl? ( dev-perl/IO-stringy )
34 ruby? ( $(ruby_implementations_depend) )
35 python? ( ${PYTHON_DEPS} )
41 test? ( dev-perl/Pod-Coverage
42 dev-perl/Test-Pod-Coverage )
46 ruby_add_bdepend "ruby? ( dev-ruby/rake
49 ruby_add_rdepend "ruby? ( virtual/rubygems )"
51 REQUIRED_USE="python? ( ${PYTHON_REQ_USE} )"
56 #We are aware of rather poor quality of this ebuild, but the bump is required to fix security bug. We will fix other matters later.
60 python-single-r1_pkg_setup
85 autotools-utils_src_configure
89 perl-app_src_configure
95 autotools-utils_src_compile
98 # Test binding's dont't wok properly in gentoo layout
102 # perl-app_src_install
106 # autotools-utils_src_compile check
112 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""