1 |
commit: cbf08c1b429afd482285ca9227fb5fbb8739083a |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 21:33:24 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 21:35:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf08c1b |
7 |
|
8 |
dev-util/pretrace: Stop using prepalldocs (#587268), neither einstall, bump EAPI and don't show elog messages everytime |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-util/pretrace/pretrace-0.4-r1.ebuild | 33 ++++++++++++++++++++++++++++++++ |
13 |
dev-util/pretrace/pretrace-0.4.ebuild | 32 ------------------------------- |
14 |
2 files changed, 33 insertions(+), 32 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/pretrace/pretrace-0.4-r1.ebuild b/dev-util/pretrace/pretrace-0.4-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..998da63f105 |
19 |
--- /dev/null |
20 |
+++ b/dev-util/pretrace/pretrace-0.4-r1.ebuild |
21 |
@@ -0,0 +1,33 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit readme.gentoo-r1 |
27 |
+ |
28 |
+DESCRIPTION="start dynamically linked applications under debugging environment" |
29 |
+HOMEPAGE="http://dev.inversepath.com/trac/pretrace" |
30 |
+SRC_URI="http://dev.inversepath.com/pretrace/libpretrace-${PV}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+S="${WORKDIR}/lib${P}" |
38 |
+ |
39 |
+DOC_CONTENTS="Remember to execute ptgenmap after modifying pretrace.conf" |
40 |
+ |
41 |
+PATCHES=( |
42 |
+ "${FILESDIR}"/${P}--as-needed.diff |
43 |
+ "${FILESDIR}"/${P}-build.patch #227923 |
44 |
+) |
45 |
+ |
46 |
+src_install() { |
47 |
+ dodir /usr/bin /usr/share/man/man3 /usr/share/man/man8 |
48 |
+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" install |
49 |
+ readme.gentoo_create_doc |
50 |
+} |
51 |
+ |
52 |
+pkg_postinst() { |
53 |
+ readme.gentoo_print_elog |
54 |
+} |
55 |
|
56 |
diff --git a/dev-util/pretrace/pretrace-0.4.ebuild b/dev-util/pretrace/pretrace-0.4.ebuild |
57 |
deleted file mode 100644 |
58 |
index 00fe92568f8..00000000000 |
59 |
--- a/dev-util/pretrace/pretrace-0.4.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,32 +0,0 @@ |
62 |
-# Copyright 1999-2009 Gentoo Foundation |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-inherit eutils multilib |
66 |
- |
67 |
-DESCRIPTION="start dynamically linked applications under debugging environment" |
68 |
-HOMEPAGE="http://dev.inversepath.com/trac/pretrace" |
69 |
-SRC_URI="http://dev.inversepath.com/pretrace/libpretrace-${PV}.tar.gz" |
70 |
- |
71 |
-LICENSE="GPL-2" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64 ~ppc ~x86" |
74 |
-IUSE="" |
75 |
- |
76 |
-S="${WORKDIR}/lib${P}" |
77 |
- |
78 |
-src_unpack() { |
79 |
- unpack ${A} |
80 |
- cd "${S}" |
81 |
- epatch "${FILESDIR}"/${P}--as-needed.diff |
82 |
- epatch "${FILESDIR}"/${P}-build.patch #227923 |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- dodir /usr/bin /usr/share/man/man{3,8} |
87 |
- einstall LIBDIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" || die |
88 |
- prepalldocs |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- elog "remember to execute ptgenmap after modifying pretrace.conf" |
93 |
-} |