Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/palo/
Date: Mon, 10 Oct 2016 08:52:39
Message-Id: 1476089541.c02c63687ee8909a0dd375fe9a5c96a24cc73189.jer@gentoo
1 commit: c02c63687ee8909a0dd375fe9a5c96a24cc73189
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 10 08:52:21 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 10 08:52:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02c6368
7
8 sys-boot/palo: Update live ebuild.
9
10 Package-Manager: portage-2.3.1
11
12 sys-boot/palo/palo-9999.ebuild | 21 ++++++++++++---------
13 1 file changed, 12 insertions(+), 9 deletions(-)
14
15 diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild
16 index b9aa701..cbc7d46 100644
17 --- a/sys-boot/palo/palo-9999.ebuild
18 +++ b/sys-boot/palo/palo-9999.ebuild
19 @@ -1,9 +1,8 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 -EAPI=5
26 -
27 +EAPI=6
28 inherit eutils flag-o-matic git-r3 toolchain-funcs
29
30 DESCRIPTION="PALO : PArisc Linux Loader"
31 @@ -14,15 +13,20 @@ LICENSE="GPL-2"
32 SLOT="0"
33 KEYWORDS=""
34
35 +PATCHES=(
36 + "${FILESDIR}"/${PN}-9999-toolchain.patch
37 +)
38 +
39 src_prepare() {
40 - epatch "${FILESDIR}"/${PN}-9999-toolchain.patch
41 + default
42 sed -i lib/common.h -e '/^#define PALOVERSION/{s|".*"|"'${PV}'"|g}' || die
43 }
44
45 src_compile() {
46 - emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) \
47 - makepalo makeipl || die
48 - emake CC=$(tc-getCC) iplboot || die
49 + local target
50 + for target in '-C palo' '-C ipl' 'iplboot'; do
51 + emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target}
52 + done
53 }
54
55 src_install() {
56 @@ -30,8 +34,7 @@ src_install() {
57 dosbin palo/palo
58
59 doman palo.8
60 - dodoc palo.conf
61 - dohtml README.html
62 + dodoc TODO debian/changelog README.html
63
64 insinto /etc
65 doins "${FILESDIR}"/palo.conf