commit:     b239a21b12ba2b84e206a7a3bd2450bf1f4b077c
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  1 12:30:25 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec  1 12:48:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b239a21b

sys-apps/ibm-powerpc-utils: Fix docdir, install Changelog

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../files/ibm-powerpc-utils-1.3.5-docdir.patch     | 13 ++++++++
 .../ibm-powerpc-utils-1.3.5-r1.ebuild              | 37 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

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
new file mode 100644
index 00000000000..52fd5446b25
--- /dev/null
+++ b/sys-apps/ibm-powerpc-utils/files/ibm-powerpc-utils-1.3.5-docdir.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,8 +4,8 @@
+ sbin_PROGRAMS =
+ EXTRA_DIST =
+ 
+-docdir = $(datadir)/doc/packages/@PACKAGE@
+-doc_DATA = README COPYING
++docdir ?= $(datadir)/doc/packages/@PACKAGE@
++doc_DATA = Changelog README
+ 
+ bin_SCRIPTS = scripts/amsstat
+ 

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
new file mode 100644
index 00000000000..6d7d066eea7
--- /dev/null
+++ b/sys-apps/ibm-powerpc-utils/ibm-powerpc-utils-1.3.5-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Utilities for the maintainance of the IBM and Apple PowerPC 
platforms"
+HOMEPAGE="https://github.com/ibm-power-utilities/powerpc-utils";
+SRC_URI="https://github.com/ibm-power-utilities/${PN//ibm-}/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+IUSE="+rtas"
+
+S="${WORKDIR}/${P//ibm-}"
+
+SLOT="0"
+LICENSE="IBM"
+KEYWORDS="~ppc ~ppc64"
+
+DEPEND="
+       sys-devel/bc
+"
+RDEPEND="
+       !sys-apps/powerpc-utils
+       ${DEPEND}
+       rtas? ( >=sys-libs/librtas-2.0.2 )
+"
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.3.5-docdir.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_with rtas librtas)
+}

Reply via email to