diff options
author | Sergey Kuleshov <svyatogor@gentoo.org> | 2003-09-08 18:06:37 +0000 |
---|---|---|
committer | Sergey Kuleshov <svyatogor@gentoo.org> | 2003-09-08 18:06:37 +0000 |
commit | 8dbcd45919b7e5fe597afc3a1ca3b9160346d921 (patch) | |
tree | 3ae369508b4c3f90779cb2cacd907022122afb42 /dev-util | |
parent | Renamed from LeakTracer to leaktracer. (diff) | |
download | historical-8dbcd45919b7e5fe597afc3a1ca3b9160346d921.tar.gz historical-8dbcd45919b7e5fe597afc3a1ca3b9160346d921.tar.bz2 historical-8dbcd45919b7e5fe597afc3a1ca3b9160346d921.zip |
Renamed from LeakTracer to leaktracer.
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/leaktracer/Manifest | 4 | ||||
-rw-r--r-- | dev-util/leaktracer/files/LeakCheck-gentoo.patch | 11 | ||||
-rw-r--r-- | dev-util/leaktracer/files/digest-leaktracer-2.3 | 1 | ||||
-rw-r--r-- | dev-util/leaktracer/leaktracer-2.3.ebuild | 37 |
4 files changed, 51 insertions, 2 deletions
diff --git a/dev-util/leaktracer/Manifest b/dev-util/leaktracer/Manifest index decb736a88ea..98ee248ee124 100644 --- a/dev-util/leaktracer/Manifest +++ b/dev-util/leaktracer/Manifest @@ -1,4 +1,4 @@ -MD5 fae33ffd2bcfe0b6c07e6b4c1ab83c7a ChangeLog 472 -MD5 b990b02a592981de8ee739a2d315159d leaktracer-2.3.ebuild 892 +MD5 9333dbed204f0ad864157d466b28ac91 ChangeLog 681 +MD5 f94bff6647eeef298830ab2ba2ca8e73 leaktracer-2.3.ebuild 892 MD5 33c69089859fd02bcf44f3047740462e files/LeakCheck-gentoo.patch 349 MD5 3ec26bff5600172f896f21ca4e6b4259 files/digest-leaktracer-2.3 61 diff --git a/dev-util/leaktracer/files/LeakCheck-gentoo.patch b/dev-util/leaktracer/files/LeakCheck-gentoo.patch new file mode 100644 index 000000000000..fc88ba6d16a4 --- /dev/null +++ b/dev-util/leaktracer/files/LeakCheck-gentoo.patch @@ -0,0 +1,11 @@ +--- LeakCheck.orig 2003-09-06 13:24:05.000000000 +0300 ++++ LeakCheck 2003-09-06 13:24:36.000000000 +0300 +@@ -7,7 +7,7 @@ + # this looks in the same directory, this + # LeakCheck script resides; modify to your + # needs: +-SHLIB=`dirname $0`/LeakTracer.so ++SHLIB=/usr/lib/LeakTracer.so + if [ ! -x $SHLIB ] ; then + echo "$SHLIB not found" + exit 1 diff --git a/dev-util/leaktracer/files/digest-leaktracer-2.3 b/dev-util/leaktracer/files/digest-leaktracer-2.3 new file mode 100644 index 000000000000..46bc14c75c9f --- /dev/null +++ b/dev-util/leaktracer/files/digest-leaktracer-2.3 @@ -0,0 +1 @@ +MD5 c772da5dc8b03e10db4a58135057a302 LeakTracer.tar.gz 10617 diff --git a/dev-util/leaktracer/leaktracer-2.3.ebuild b/dev-util/leaktracer/leaktracer-2.3.ebuild new file mode 100644 index 000000000000..84fbf00f7747 --- /dev/null +++ b/dev-util/leaktracer/leaktracer-2.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/leaktracer-2.3.ebuild,v 1.1 2003/09/08 18:06:29 sergey Exp $ + +DESCRIPTION="LeakTracer - trace and analyze memory leaks in C++ programs." + +S=${WORKDIR}/${PN} +HOMEPAGE="http://www.andreasen.org/LeakTracer/" +SRC_URI="http://www.andreasen.org/${PN}/${PN}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="virtual/glibc + >=dev-lang/perl-5 + sys-devel/gdb" + +src_compile() { + epatch ${FILESDIR}/LeakCheck-gentoo.patch + make +} + +src_install() { + dobin LeakCheck + dobin leak-analyze + dolib.so LeakTracer.so + dohtml README.html + dodoc README VERSION +} + +pkg_postinst() { + einfo "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out" + einfo "Please refferto README file for more info." +} |