summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-06-07 06:50:26 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-06-07 06:50:26 +0000
commit89c2d5a550659159d10147a0470562a84faaec5d (patch)
tree051b4d82e977bb51a2d00d3f7dadd1956f67c407 /dev-util/dwarves
parentInitial import, bug #180563 (diff)
downloadhistorical-89c2d5a550659159d10147a0470562a84faaec5d.tar.gz
historical-89c2d5a550659159d10147a0470562a84faaec5d.tar.bz2
historical-89c2d5a550659159d10147a0470562a84faaec5d.zip
Initial import, dwarves package by Arnaldo Carvalho de Melo, including pahole.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-util/dwarves')
-rw-r--r--dev-util/dwarves/ChangeLog10
-rw-r--r--dev-util/dwarves/Manifest26
-rw-r--r--dev-util/dwarves/dwarves-1.0_p1.ebuild54
-rw-r--r--dev-util/dwarves/files/digest-dwarves-1.0_p13
-rw-r--r--dev-util/dwarves/metadata.xml9
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-util/dwarves/ChangeLog b/dev-util/dwarves/ChangeLog
new file mode 100644
index 000000000000..b891d361d4e0
--- /dev/null
+++ b/dev-util/dwarves/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/dwarves
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/ChangeLog,v 1.1 2007/06/07 06:50:26 flameeyes Exp $
+
+*dwarves-1.0_p1 (07 Jun 2007)
+
+ 07 Jun 2007; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +dwarves-1.0_p1.ebuild:
+ Initial import, dwarves package by Arnaldo Carvalho de Melo, including pahole.
+
diff --git a/dev-util/dwarves/Manifest b/dev-util/dwarves/Manifest
new file mode 100644
index 000000000000..8f2eb25190dc
--- /dev/null
+++ b/dev-util/dwarves/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST dwarves-1.0-1.src.rpm 58365 RMD160 339a4a17d60c23cca0242df1d5bb2405e50aea48 SHA1 07c0843433ac67a0b330357feee1ab39c5a97768 SHA256 9185fb1d3cad385d82dcb0aefbbb37152fb1972c255d2c7ea72945780bd87558
+EBUILD dwarves-1.0_p1.ebuild 1214 RMD160 3ad52b0ea6914c8e14f8a746c6e6da0d02953cdb SHA1 b5770a05b6f3895bb2a9e05e0c1ca552aae7eb69 SHA256 4ce123721a3c9e41e0aa35b18ea59117e0a9854bdbb3533af51647b10d21d126
+MD5 905c9611fec6a41c3b0caeb62c25f76f dwarves-1.0_p1.ebuild 1214
+RMD160 3ad52b0ea6914c8e14f8a746c6e6da0d02953cdb dwarves-1.0_p1.ebuild 1214
+SHA256 4ce123721a3c9e41e0aa35b18ea59117e0a9854bdbb3533af51647b10d21d126 dwarves-1.0_p1.ebuild 1214
+MISC ChangeLog 415 RMD160 6e921b68dee038a36008ad99f12dcdb0ea6d76c7 SHA1 1b50848654cc8e961215e20a29eb095c69d2cee2 SHA256 fa5165a85186ce05f8b5f288f4d132f5354d1b35b16e2d1d197b8c6bdc8edfef
+MD5 b9c952a08f8ae315ab334993d2204e5b ChangeLog 415
+RMD160 6e921b68dee038a36008ad99f12dcdb0ea6d76c7 ChangeLog 415
+SHA256 fa5165a85186ce05f8b5f288f4d132f5354d1b35b16e2d1d197b8c6bdc8edfef ChangeLog 415
+MISC metadata.xml 265 RMD160 ed020eef4487d1d25023945b3afcec8777b089ac SHA1 eca52d79e2678bd52d27452a42299c517eaa2df9 SHA256 e59535099e96d9591e51a22148c6ed9f759f1f536c3b35f3ddc6d47c1eb1f108
+MD5 ed821bcece87eccabbde738be7dff958 metadata.xml 265
+RMD160 ed020eef4487d1d25023945b3afcec8777b089ac metadata.xml 265
+SHA256 e59535099e96d9591e51a22148c6ed9f759f1f536c3b35f3ddc6d47c1eb1f108 metadata.xml 265
+MD5 20c975a0f2018c51895a74ba373468bb files/digest-dwarves-1.0_p1 241
+RMD160 8d1039a348134ee1f2098e1e4629922ee3a3bdbd files/digest-dwarves-1.0_p1 241
+SHA256 88ed0aa715b3ad6274507cfef3d7046b625825bfef1b384d0fc6f6667903f01e files/digest-dwarves-1.0_p1 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.4 (GNU/Linux)
+
+iD8DBQFGZ6rXAiZjviIA2XgRAtogAJ4nkEBzkUzaIN+pU390Ys29bl5nfgCg8WQe
+rJOUKiDGel3ONAMgbuTzR2I=
+=/Sh3
+-----END PGP SIGNATURE-----
diff --git a/dev-util/dwarves/dwarves-1.0_p1.ebuild b/dev-util/dwarves/dwarves-1.0_p1.ebuild
new file mode 100644
index 000000000000..cb9754243858
--- /dev/null
+++ b/dev-util/dwarves/dwarves-1.0_p1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2007-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/dwarves-1.0_p1.ebuild,v 1.1 2007/06/07 06:50:26 flameeyes Exp $
+
+inherit toolchain-funcs flag-o-matic multilib rpm
+
+MY_P="${P/_p/-}"
+
+DESCRIPTION="pahole and other dwarf debugging tools"
+HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/acme/pahole.git;a=summary"
+SRC_URI="http://oops.ghostprotocols.net:81/acme/dwarves/rpm/SRPMS/${MY_P}.src.rpm"
+
+LICENSE="GPL-2" # only
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+RDEPEND="dev-libs/elfutils"
+DEPEND=">=dev-util/cmake-2.4
+ ${RDEPEND}"
+
+S="${WORKDIR}"
+BUILDDIR="${WORKDIR}/build"
+
+src_compile() {
+ mkdir "${BUILDDIR}"
+ cd "${BUILDDIR}"
+
+ tc-export CC CXX LD
+
+ use debug || append-flags -DNDEBUG
+
+ cmake \
+ -DCMAKE_C_FLAGS_RELEASE="" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -D__LIB=$(get_libdir) \
+ "${S}" \
+ || die "cmake failed"
+
+ emake VERBOSE="1" || die "emake failed"
+}
+
+src_install() {
+ cd "${BUILDDIR}"
+
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ dodir /usr/share/pahole
+ mv "${D}/usr/$(get_libdir)/ctracer" \
+ "${D}/usr/share/pahole"
+
+ cd "${S}"
+ dodoc README README.ctracer
+}
diff --git a/dev-util/dwarves/files/digest-dwarves-1.0_p1 b/dev-util/dwarves/files/digest-dwarves-1.0_p1
new file mode 100644
index 000000000000..b74fad66b308
--- /dev/null
+++ b/dev-util/dwarves/files/digest-dwarves-1.0_p1
@@ -0,0 +1,3 @@
+MD5 5a185bee30b2115a0105be7ce189f385 dwarves-1.0-1.src.rpm 58365
+RMD160 339a4a17d60c23cca0242df1d5bb2405e50aea48 dwarves-1.0-1.src.rpm 58365
+SHA256 9185fb1d3cad385d82dcb0aefbbb37152fb1972c255d2c7ea72945780bd87558 dwarves-1.0-1.src.rpm 58365
diff --git a/dev-util/dwarves/metadata.xml b/dev-util/dwarves/metadata.xml
new file mode 100644
index 000000000000..ca08e48087e3
--- /dev/null
+++ b/dev-util/dwarves/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ <name>Diego Pettenò</name>
+ </maintainer>
+</pkgmetadata>