Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ccmalloc: ccmalloc-0.4.0-r2.ebuild ChangeLog
Date: Tue, 01 Sep 2009 12:26:29
Message-Id: E1MiXGF-0006FA-13@stork.gentoo.org
1 jer 09/09/01 17:35:15
2
3 Modified: ChangeLog
4 Added: ccmalloc-0.4.0-r2.ebuild
5 Log:
6 Respect CC (bug #243978).
7 (Portage version: 2.2_rc40/cvs/Linux i686)
8
9 Revision Changes Path
10 1.6 dev-util/ccmalloc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ccmalloc/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ccmalloc/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ccmalloc/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/ccmalloc/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 20 Oct 2008 14:20:39 -0000 1.5
23 +++ ChangeLog 1 Sep 2009 17:35:14 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/ccmalloc
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ccmalloc/ChangeLog,v 1.5 2008/10/20 14:20:39 hawking Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ccmalloc/ChangeLog,v 1.6 2009/09/01 17:35:14 jer Exp $
30 +
31 +*ccmalloc-0.4.0-r2 (01 Sep 2009)
32 +
33 + 01 Sep 2009; Jeroen Roovers <jer@g.o> +ccmalloc-0.4.0-r2.ebuild:
34 + Respect CC (bug #243978).
35
36 *ccmalloc-0.4.0-r1 (20 Oct 2008)
37
38
39
40
41 1.1 dev-util/ccmalloc/ccmalloc-0.4.0-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ccmalloc/ccmalloc-0.4.0-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/ccmalloc/ccmalloc-0.4.0-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ccmalloc-0.4.0-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/ccmalloc/ccmalloc-0.4.0-r2.ebuild,v 1.1 2009/09/01 17:35:14 jer Exp $
51
52 inherit toolchain-funcs
53
54 DESCRIPTION="A easy-to-use memory debugging library"
55 HOMEPAGE="http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/"
56 SRC_URI="http://www.inf.ethz.ch/personal/biere/projects/${PN}/${P}.tar.gz"
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 IUSE="debug"
61 DEPEND=""
62 RDEPEND=""
63
64 src_unpack() {
65 unpack ${A}
66 cd "${S}"
67
68 # Respect CFLAGS #240274
69 sed -i \
70 -e "s/CFLAGS=/CFLAGS+=/" \
71 Makefile.in || die "sed in Makefile.in failed"
72 }
73
74 src_compile() {
75 tc-export CC
76 local myconf
77 use debug && myconf="${myconf} --debug"
78 # Not a standard configure script.
79 ./configure --prefix=/usr ${myconf} || die "configure failed"
80 emake || die "emake failed"
81 }
82
83 src_install() {
84 emake PREFIX="${D}"/usr install || die "emake install failed"
85 dodoc BUGS FEATURES NEWS README TODO USAGE VERSION || die "dodoc failed"
86 }