summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-01 13:30:25 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-01 13:48:43 +0100
commitb239a21b12ba2b84e206a7a3bd2450bf1f4b077c (patch)
tree6388808d283e5993ef26e39d8119c93947e24cc5 /sys-apps/ibm-powerpc-utils
parentsys-libs/librtas: Fix LICENSE (diff)
downloadgentoo-b239a21b12ba2b84e206a7a3bd2450bf1f4b077c.tar.gz
gentoo-b239a21b12ba2b84e206a7a3bd2450bf1f4b077c.tar.bz2
gentoo-b239a21b12ba2b84e206a7a3bd2450bf1f4b077c.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/ibm-powerpc-utils')
-rw-r--r--sys-apps/ibm-powerpc-utils/files/ibm-powerpc-utils-1.3.5-docdir.patch13
-rw-r--r--sys-apps/ibm-powerpc-utils/ibm-powerpc-utils-1.3.5-r1.ebuild37
2 files changed, 50 insertions, 0 deletions
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 000000000000..52fd5446b250
--- /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 000000000000..6d7d066eea71
--- /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)
+}