blob: 4c81bf34b7faf6cc1b1029420d77c37acdcc52ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/leaktracer-2.4.ebuild,v 1.8 2009/09/23 17:46:04 patrick Exp $
inherit eutils
DESCRIPTION="trace and analyze memory leaks in C++ programs"
HOMEPAGE="http://www.andreasen.org/LeakTracer/"
SRC_URI="mirror://gentoo/${P}.tbz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=dev-lang/perl-5
sys-devel/gdb"
src_compile() {
epatch ${FILESDIR}/LeakCheck-gentoo.patch
make || die
}
src_install() {
dobin LeakCheck leak-analyze || die "dobin failed"
dolib.so LeakTracer.so || die "dolib.so failed"
dohtml README.html
dodoc README VERSION
}
pkg_postinst() {
elog "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out"
elog "Please reffer to README file for more info."
}
|