summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dmalloc/ChangeLog9
-rw-r--r--dev-libs/dmalloc/dmalloc-5.5.2-r2.ebuild56
-rw-r--r--dev-libs/dmalloc/files/digest-dmalloc-5.5.2-r23
3 files changed, 66 insertions, 2 deletions
diff --git a/dev-libs/dmalloc/ChangeLog b/dev-libs/dmalloc/ChangeLog
index 79f6b7786f5c..5c64e6930704 100644
--- a/dev-libs/dmalloc/ChangeLog
+++ b/dev-libs/dmalloc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/dmalloc
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.39 2007/12/30 11:24:23 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.40 2008/01/19 20:18:36 drac Exp $
+
+*dmalloc-5.5.2-r2 (19 Jan 2008)
+
+ 19 Jan 2008; Samuli Suominen <drac@gentoo.org> +dmalloc-5.5.2-r2.ebuild:
+ Install missing symlinks. Trivial, commit to stable.
30 Dec 2007; Samuli Suominen <drac@gentoo.org>
-files/dmalloc-5.2.4-fpic.patch, -files/dmalloc-5.3.0-fpic.patch,
diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r2.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r2.ebuild
new file mode 100644
index 000000000000..14385d26ef6c
--- /dev/null
+++ b/dev-libs/dmalloc/dmalloc-5.5.2-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/dmalloc-5.5.2-r2.ebuild,v 1.1 2008/01/19 20:18:36 drac Exp $
+
+inherit autotools eutils multilib
+
+DESCRIPTION="A Debug Malloc Library"
+HOMEPAGE="http://dmalloc.com"
+SRC_URI="http://dmalloc.com/releases/${P}.tgz"
+
+LICENSE="CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # - Build objects twice, once -fPIC for shared.
+ # - Use DESTDIR.
+ # - Fix SONAME and NEEDED.
+ epatch "${FILESDIR}"/${P}-Makefile.in.patch
+ # - Broken test, always returns false.
+ epatch "${FILESDIR}"/${P}-cxx.patch
+ # - Run autoconf for -cxx.patch.
+ eautoconf
+}
+
+src_compile() {
+ econf --enable-cxx --enable-threads --enable-shlib
+ emake || die "emake failed."
+ cd docs && makeinfo dmalloc.texi
+}
+
+src_test() {
+ emake heavy || die "emake check failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ newdoc ChangeLog.1 ChangeLog
+ dodoc NEWS README docs/NOTES docs/TODO
+ insinto /usr/share/doc/${PF}
+ doins docs/dmalloc.pdf
+ dohtml RELEASE.html docs/dmalloc.html
+ doinfo docs/dmalloc.info
+
+ # add missing symlinks, lazy
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
+ for lib in cxx th thcxx; do
+ dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so
+ done
+}
diff --git a/dev-libs/dmalloc/files/digest-dmalloc-5.5.2-r2 b/dev-libs/dmalloc/files/digest-dmalloc-5.5.2-r2
new file mode 100644
index 000000000000..979781dc57ea
--- /dev/null
+++ b/dev-libs/dmalloc/files/digest-dmalloc-5.5.2-r2
@@ -0,0 +1,3 @@
+MD5 f92e5606c23a8092f3d5694e8d1c932e dmalloc-5.5.2.tgz 666608
+RMD160 2cfe4daa453337e0fae0656bdbdaad1214d6243d dmalloc-5.5.2.tgz 666608
+SHA256 d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a dmalloc-5.5.2.tgz 666608