1 |
commit: 9113629329830be0555256257ffdbc340cb934bf |
2 |
Author: Matthias Schwarzott <zzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 04:54:16 2020 +0000 |
4 |
Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 05:06:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91136293 |
7 |
|
8 |
dev-util/dwarves: Switch from eclass cmake-utils to cmake |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Matthias Schwarzott <zzam <AT> gentoo.org> |
12 |
|
13 |
dev-util/dwarves/dwarves-1.17-r1.ebuild | 44 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/dwarves/dwarves-1.17-r1.ebuild b/dev-util/dwarves/dwarves-1.17-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..063b96dc5e5 |
19 |
--- /dev/null |
20 |
+++ b/dev-util/dwarves/dwarves-1.17-r1.ebuild |
21 |
@@ -0,0 +1,44 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
+inherit multilib cmake python-single-r1 |
29 |
+ |
30 |
+DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities" |
31 |
+HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/" |
32 |
+ |
33 |
+LICENSE="GPL-2" # only |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
36 |
+IUSE="debug" |
37 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
38 |
+ |
39 |
+RDEPEND="${PYTHON_DEPS} |
40 |
+ >=dev-libs/elfutils-0.178 |
41 |
+ sys-libs/zlib" |
42 |
+DEPEND="${RDEPEND}" |
43 |
+ |
44 |
+if [[ ${PV//_p} == ${PV} ]]; then |
45 |
+ SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.xz" |
46 |
+else |
47 |
+ SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz" |
48 |
+fi |
49 |
+ |
50 |
+DOCS=( README README.ctracer NEWS ) |
51 |
+ |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}"/${PN}-1.10-python-import.patch |
54 |
+) |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( "-D__LIB=$(get_libdir)" ) |
58 |
+ cmake_src_configure |
59 |
+} |
60 |
+ |
61 |
+src_test() { :; } |
62 |
+ |
63 |
+src_install() { |
64 |
+ cmake_src_install |
65 |
+} |