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
commitb817bac580ab170f3de8eb6f47c4f194d6cf1677 (patch)
tree0d8679b7264951b58615fa3dbd8caf59f9fc025e /dev-util/dwarves
parentInitial import, bug #180563 (diff)
downloadgentoo-2-b817bac580ab170f3de8eb6f47c4f194d6cf1677.tar.gz
gentoo-2-b817bac580ab170f3de8eb6f47c4f194d6cf1677.tar.bz2
gentoo-2-b817bac580ab170f3de8eb6f47c4f194d6cf1677.zip
Initial import, dwarves package by Arnaldo Carvalho de Melo, including pahole.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-util/dwarves')
-rw-r--r--dev-util/dwarves/ChangeLog10
-rw-r--r--dev-util/dwarves/Manifest16
-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, 92 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..9a341f5f881f
--- /dev/null
+++ b/dev-util/dwarves/Manifest
@@ -0,0 +1,16 @@
+DIST dwarves-1.0-1.src.rpm 58365 RMD160 339a4a17d60c23cca0242df1d5bb2405e50aea48 SHA1 07c0843433ac67a0b330357feee1ab39c5a97768 SHA256 9185fb1d3cad385d82dcb0aefbbb37152fb1972c255d2c7ea72945780bd87558
+EBUILD dwarves-1.0_p1.ebuild 1111 RMD160 5d1239f496b7fd44084c36ad7b0a36aca7796eca SHA1 1e74857eb13ea1a8811142401eb8d7658d4afc4b SHA256 cdcc449e210bf1df7150c7cc6402f31db348c6888e25ee6ebea9c8a6ac667c6c
+MD5 9a80de0db3a794ae8d4f39b30f490b9f dwarves-1.0_p1.ebuild 1111
+RMD160 5d1239f496b7fd44084c36ad7b0a36aca7796eca dwarves-1.0_p1.ebuild 1111
+SHA256 cdcc449e210bf1df7150c7cc6402f31db348c6888e25ee6ebea9c8a6ac667c6c dwarves-1.0_p1.ebuild 1111
+MISC ChangeLog 324 RMD160 8f8ac9b3182aa116f52d1c333779cdbb2627ab27 SHA1 f8077628352f0f36331306c3758099030d848138 SHA256 b4871b95bdf9040f8dbaf50918ba6d6de28d75ea024efd94584a319f3b216013
+MD5 f8c92e487c3eeac02c89f7a6c9845cc9 ChangeLog 324
+RMD160 8f8ac9b3182aa116f52d1c333779cdbb2627ab27 ChangeLog 324
+SHA256 b4871b95bdf9040f8dbaf50918ba6d6de28d75ea024efd94584a319f3b216013 ChangeLog 324
+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
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>