diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-18 15:38:59 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-19 15:44:11 +0100 |
commit | 329d834cf47bc14a0fcff51e45aac647ae8d4aa1 (patch) | |
tree | b7ca5a53aca19fc056fbc79869c25f03ea3a6343 /dev-util/leaktracer | |
parent | Move {dev-util → dev-debug}/duma (diff) | |
download | gentoo-329d834cf47bc14a0fcff51e45aac647ae8d4aa1.tar.gz gentoo-329d834cf47bc14a0fcff51e45aac647ae8d4aa1.tar.bz2 gentoo-329d834cf47bc14a0fcff51e45aac647ae8d4aa1.zip |
Move {dev-util → dev-debug}/leaktracer
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/leaktracer')
-rw-r--r-- | dev-util/leaktracer/Manifest | 1 | ||||
-rw-r--r-- | dev-util/leaktracer/leaktracer-2.4-r3.ebuild | 56 | ||||
-rw-r--r-- | dev-util/leaktracer/metadata.xml | 5 |
3 files changed, 0 insertions, 62 deletions
diff --git a/dev-util/leaktracer/Manifest b/dev-util/leaktracer/Manifest deleted file mode 100644 index f48add3e2c81..000000000000 --- a/dev-util/leaktracer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST leaktracer-2.4-gentoo_p2.tbz2 11957 BLAKE2B 0af20e7a43c88a16027e859779924ef3fc86af5fb8324a96721f190db4ef59d78681ea4b91ef9843ed467541c9ca3a9b1618339174fdc1901a13b5221acc5479 SHA512 12f348564933c8cf372208f846bb21b175f041e7687811e9c6ce8062e7f285b9d2395e7853a20df11d9b0d5b8fff89efc76ccbac9f8b7c0bc4fd4ea25d476718 diff --git a/dev-util/leaktracer/leaktracer-2.4-r3.ebuild b/dev-util/leaktracer/leaktracer-2.4-r3.ebuild deleted file mode 100644 index e0ba6140a682..000000000000 --- a/dev-util/leaktracer/leaktracer-2.4-r3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -# Upstream-package has no version in it's name. -# We therefore repackage it directly, together with the patches. -PATCH_LEVEL="2" - -DESCRIPTION="Trace and analyze memory leaks in C++ programs" -HOMEPAGE="https://andreasen.org/LeakTracer/" -SRC_URI="mirror://gentoo/${P}-gentoo_p${PATCH_LEVEL}.tbz2" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="dev-lang/perl - dev-debug/gdb" -RDEPEND="${DEPEND}" - -# leaktracer is being realized using LD_PRELOAD and segfaults -# when being run in the sandbox and the library is _not_ in -# /usr/$(get_libdir) which is not possible before installation -RESTRICT="test" - -src_prepare() { - eapply -p1 "${WORKDIR}/patches/01_all_gcc-cflags.patch" - eapply -p0 "${WORKDIR}/patches/05_all_libdir.patch" - eapply -p1 "${WORKDIR}/patches/15_all_printf.patch" - - sed -i \ - -e "s|%LIBDIR%|$(get_libdir)|" \ - LeakCheck || die "sed for setting lib path failed" - - eapply_user -} - -src_compile() { - emake CXX="$(tc-getCXX)" -} - -src_install() { - dobin LeakCheck leak-analyze - dolib.so LeakTracer.so - dodoc README test.cc - docinto html - dodoc README.html -} - -pkg_postinst() { - elog "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out" - elog "Please refer to README file for more info." -} diff --git a/dev-util/leaktracer/metadata.xml b/dev-util/leaktracer/metadata.xml deleted file mode 100644 index 85e4ed814fa2..000000000000 --- a/dev-util/leaktracer/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> |