Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/maloc: ChangeLog maloc-1.5.ebuild
Date: Wed, 02 May 2012 10:38:55
Message-Id: 20120502103842.8B5272004B@flycatcher.gentoo.org
1 jlec 12/05/02 10:38:42
2
3 Modified: ChangeLog maloc-1.5.ebuild
4 Log:
5 dev-libs/maloc: Move to autotools-utils.eclass
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.24 dev-libs/maloc/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 20 Jul 2011 16:53:17 -0000 1.23
23 +++ ChangeLog 2 May 2012 10:38:42 -0000 1.24
24 @@ -1,6 +1,9 @@
25 # ChangeLog for dev-libs/maloc
26 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.23 2011/07/20 16:53:17 pacho Exp $
28 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.24 2012/05/02 10:38:42 jlec Exp $
30 +
31 + 02 May 2012; Justin Lecher <jlec@g.o> maloc-1.5.ebuild:
32 + Move to autotools-utils.eclass
33
34 20 Jul 2011; Pacho Ramos <pacho@g.o> metadata.xml:
35 Drop maintainer due retirement, bug #105599
36
37
38
39 1.3 dev-libs/maloc/maloc-1.5.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild?r1=1.2&r2=1.3
44
45 Index: maloc-1.5.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- maloc-1.5.ebuild 16 Apr 2011 06:56:06 -0000 1.2
52 +++ maloc-1.5.ebuild 2 May 2012 10:38:42 -0000 1.3
53 @@ -1,10 +1,12 @@
54 -# Copyright 1999-2011 Gentoo Foundation
55 +# Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild,v 1.2 2011/04/16 06:56:06 jlec Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5.ebuild,v 1.3 2012/05/02 10:38:42 jlec Exp $
59
60 -EAPI="3"
61 +EAPI=4
62
63 -inherit autotools eutils
64 +AUTOTOOLS_AUTORECONF=yes
65 +
66 +inherit autotools-utils
67
68 DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs"
69 HOMEPAGE="http://www.fetk.org/codes/maloc/index.html"
70 @@ -25,32 +27,28 @@
71
72 S="${WORKDIR}/${PN}"
73
74 -src_prepare() {
75 - epatch \
76 - "${FILESDIR}"/1.4-mpi.patch \
77 - "${FILESDIR}"/1.4-asneeded.patch \
78 - "${FILESDIR}"/1.4-doc.patch
79 - eautoreconf
80 -}
81 +PATCHES=(
82 + "${FILESDIR}"/1.4-mpi.patch
83 + "${FILESDIR}"/1.4-asneeded.patch
84 + "${FILESDIR}"/1.4-doc.patch
85 + )
86
87 src_configure() {
88 - local myconf
89 + local myeconfargs
90 use mpi && export CC="mpicc"
91 - use doc || myconf="${myconf} --with-doxygen= --with-dot="
92 + use doc || myeconfargs+=( --with-doxygen= --with-dot= )
93
94 - econf \
95 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
96 - $(use_enable mpi) \
97 - $(use_enable static-libs static) \
98 - --disable-triplet \
99 - --enable-shared \
100 - ${myconf}
101 + myeconfargs+=(
102 + --docdir="${EPREFIX}"/usr/share/doc/${PF}
103 + $(use_enable mpi)
104 + --disable-triplet
105 + )
106 + autotools-utils_src_configure
107 }
108
109 src_install() {
110 - # install libs and headers
111 - emake DESTDIR="${D}" install || die "make install failed"
112 + autotools-utils_src_install
113
114 # install doc
115 - dohtml doc/index.html || die "failed to install html docs"
116 + dohtml doc/index.html
117 }