/[gentoo-x86]/app-misc/hivex/hivex-1.3.2-r1.ebuild
Gentoo

Contents of /app-misc/hivex/hivex-1.3.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed May 2 12:24:25 2012 UTC (2 years, 7 months ago) by maksbotan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fix runpath and ldflags in ruby bindings, bug 412099

(Portage version: 2.1.10.57/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild,v 1.2 2012/03/25 10:37:40 maksbotan Exp $
4
5 EAPI=4
6
7 WANT_AUTOMAKE="1.11"
8 AUTOTOOLS_IN_SOURCE_BUILD=1
9 AUTOTOOLS_AUTORECONF=1
10
11 PYTHON_DEPEND="python? 2:2.6"
12 inherit base autotools-utils perl-app python
13
14 DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
15 HOMEPAGE="http://libguestfs.org"
16 SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
17
18 LICENSE="LGPL-2.1"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="ocaml readline perl python test static-libs ruby"
22
23 RDEPEND="virtual/libiconv
24 virtual/libintl
25 dev-libs/libxml2:2
26 ocaml? ( dev-lang/ocaml[ocamlopt]
27 dev-ml/findlib[ocamlopt]
28 )
29 readline? ( sys-libs/readline )
30 perl? ( dev-perl/IO-stringy )
31 "
32
33 DEPEND="${RDEPEND}
34 dev-lang/perl
35 perl? (
36 test? ( dev-perl/Pod-Coverage
37 dev-perl/Test-Pod-Coverage ) )
38 ruby? ( dev-ruby/rake )
39 "
40 PATCHES=("${FILESDIR}"/autoconf_fix-${PV}.patch
41 "${FILESDIR}"/python-test-fix-${PV}.patch)
42 DOCS=(README)
43
44 pkg_setup() {
45 if use python; then
46 python_set_active_version 2
47 python_pkg_setup
48 python_need_rebuild
49 fi
50 }
51
52 src_prepare() {
53 autotools-utils_src_prepare
54 }
55
56 src_configure() {
57 local myeconfargs=(
58 $(use_with readline)
59 $(use_enable ocaml)
60 $(use_enable perl)
61 --enable-nls
62 $(use_enable python)
63 $(use_enable ruby)
64 --disable-rpath )
65
66 autotools-utils_src_configure
67 }
68
69 src_test() {
70 autotools-utils_src_compile check
71 }
72
73 src_install() {
74 strip-linguas -i po
75
76 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
77
78 if use perl; then
79 fixlocalpod
80 fi
81 }

  ViewVC Help
Powered by ViewVC 1.1.20