Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/hivex: ChangeLog hivex-1.3.2-r1.ebuild
Date: Thu, 01 Dec 2011 17:27:03
Message-Id: 20111201172653.2FEFA2004B@flycatcher.gentoo.org
1 maksbotan 11/12/01 17:26:53
2
3 Modified: ChangeLog
4 Added: hivex-1.3.2-r1.ebuild
5 Log:
6 Fix usage of autotools-utils.eclass, bug 392087. Thanks to mgorny and slepnoga
7
8 (Portage version: 2.1.10.33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 app-misc/hivex/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/hivex/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 10 Nov 2011 12:53:10 -0000 1.10
24 +++ ChangeLog 1 Dec 2011 17:26:53 -0000 1.11
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-misc/hivex
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/ChangeLog,v 1.10 2011/11/10 12:53:10 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/ChangeLog,v 1.11 2011/12/01 17:26:53 maksbotan Exp $
30 +
31 +*hivex-1.3.2-r1 (01 Dec 2011)
32 +
33 + 01 Dec 2011; Maxim Koltsov <maksbotan@g.o> +hivex-1.3.2-r1.ebuild:
34 + Fix usage of autotools-utils.eclass, bug 392087. Thanks to mgorny and
35 + slepnoga
36
37 10 Nov 2011; Maxim Koltsov <maksbotan@g.o> hivex-1.3.2.ebuild:
38 Fix pkg_setup to call python_pkg_setup, bug #389691. Thanks to Arfrever.
39
40
41
42 1.1 app-misc/hivex/hivex-1.3.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hivex-1.3.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild,v 1.1 2011/12/01 17:26:53 maksbotan Exp $
52
53 EAPI=4
54
55 WANT_AUTOMAKE="1.11"
56 AUTOTOOLS_IN_SOURCE_BUILD=1
57
58 PYTHON_DEPEND="python? 2:2.6"
59 inherit base autotools-utils perl-app python
60
61 DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
62 HOMEPAGE="http://libguestfs.org"
63 SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="ocaml readline perl python test static-libs ruby"
69
70 RDEPEND="virtual/libiconv
71 virtual/libintl
72 dev-libs/libxml2:2
73 ocaml? ( dev-lang/ocaml[ocamlopt]
74 dev-ml/findlib[ocamlopt]
75 )
76 readline? ( sys-libs/readline )
77 perl? ( dev-perl/IO-stringy )
78 "
79
80 DEPEND="${RDEPEND}
81 dev-lang/perl
82 perl? (
83 test? ( dev-perl/Pod-Coverage
84 dev-perl/Test-Pod-Coverage ) )
85 ruby? ( dev-ruby/rake )
86 "
87 PATCHES=("${FILESDIR}"/autoconf_fix-${PV}.patch
88 "${FILESDIR}"/python-test-fix-${PV}.patch)
89 DOCS=(README)
90
91 pkg_setup() {
92 if use python; then
93 python_set_active_version 2
94 python_pkg_setup
95 python_need_rebuild
96 fi
97 }
98
99 src_prepare() {
100 autotools-utils_src_prepare
101 eautoreconf
102 }
103
104 src_configure() {
105 local myeconfargs=(
106 $(use_with readline)
107 $(use_enable ocaml)
108 $(use_enable perl)
109 --enable-nls
110 $(use_enable python)
111 $(use_enable ruby)
112 --disable-rpath )
113
114 autotools-utils_src_configure
115 }
116
117 src_test() {
118 autotools-utils_src_compile check
119 }
120
121 src_install() {
122 strip-linguas -i po
123
124 autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
125
126 if use perl; then
127 fixlocalpod
128 fi
129 }