1 |
commit: b239a21b12ba2b84e206a7a3bd2450bf1f4b077c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 12:30:25 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 12:48:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b239a21b |
7 |
|
8 |
sys-apps/ibm-powerpc-utils: Fix docdir, install Changelog |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
.../files/ibm-powerpc-utils-1.3.5-docdir.patch | 13 ++++++++ |
14 |
.../ibm-powerpc-utils-1.3.5-r1.ebuild | 37 ++++++++++++++++++++++ |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/ibm-powerpc-utils/files/ibm-powerpc-utils-1.3.5-docdir.patch b/sys-apps/ibm-powerpc-utils/files/ibm-powerpc-utils-1.3.5-docdir.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..52fd5446b25 |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/ibm-powerpc-utils/files/ibm-powerpc-utils-1.3.5-docdir.patch |
22 |
@@ -0,0 +1,13 @@ |
23 |
+--- a/Makefile.am |
24 |
++++ b/Makefile.am |
25 |
+@@ -4,8 +4,8 @@ |
26 |
+ sbin_PROGRAMS = |
27 |
+ EXTRA_DIST = |
28 |
+ |
29 |
+-docdir = $(datadir)/doc/packages/@PACKAGE@ |
30 |
+-doc_DATA = README COPYING |
31 |
++docdir ?= $(datadir)/doc/packages/@PACKAGE@ |
32 |
++doc_DATA = Changelog README |
33 |
+ |
34 |
+ bin_SCRIPTS = scripts/amsstat |
35 |
+ |
36 |
|
37 |
diff --git a/sys-apps/ibm-powerpc-utils/ibm-powerpc-utils-1.3.5-r1.ebuild b/sys-apps/ibm-powerpc-utils/ibm-powerpc-utils-1.3.5-r1.ebuild |
38 |
new file mode 100644 |
39 |
index 00000000000..6d7d066eea7 |
40 |
--- /dev/null |
41 |
+++ b/sys-apps/ibm-powerpc-utils/ibm-powerpc-utils-1.3.5-r1.ebuild |
42 |
@@ -0,0 +1,37 @@ |
43 |
+# Copyright 1999-2018 Gentoo Authors |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=6 |
47 |
+inherit autotools eutils |
48 |
+ |
49 |
+DESCRIPTION="Utilities for the maintainance of the IBM and Apple PowerPC platforms" |
50 |
+HOMEPAGE="https://github.com/ibm-power-utilities/powerpc-utils" |
51 |
+SRC_URI="https://github.com/ibm-power-utilities/${PN//ibm-}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+IUSE="+rtas" |
53 |
+ |
54 |
+S="${WORKDIR}/${P//ibm-}" |
55 |
+ |
56 |
+SLOT="0" |
57 |
+LICENSE="IBM" |
58 |
+KEYWORDS="~ppc ~ppc64" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ sys-devel/bc |
62 |
+" |
63 |
+RDEPEND=" |
64 |
+ !sys-apps/powerpc-utils |
65 |
+ ${DEPEND} |
66 |
+ rtas? ( >=sys-libs/librtas-2.0.2 ) |
67 |
+" |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/${PN}-1.3.5-docdir.patch |
70 |
+) |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ econf $(use_with rtas librtas) |
79 |
+} |