Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/palo: palo-9999.ebuild ChangeLog
Date: Sat, 29 Jun 2013 13:30:58
Message-Id: 20130629133054.035642171D@flycatcher.gentoo.org
1 jer 13/06/29 13:30:53
2
3 Modified: ChangeLog
4 Added: palo-9999.ebuild
5 Log:
6 Add live ebuild.
7
8 (Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.35 sys-boot/palo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/palo/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/palo/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/palo/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/palo/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 30 Jan 2013 21:00:40 -0000 1.34
24 +++ ChangeLog 29 Jun 2013 13:30:53 -0000 1.35
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-boot/palo
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/ChangeLog,v 1.34 2013/01/30 21:00:40 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/ChangeLog,v 1.35 2013/06/29 13:30:53 jer Exp $
30 +
31 +*palo-9999 (29 Jun 2013)
32 +
33 + 29 Jun 2013; Jeroen Roovers <jer@g.o> +files/palo-9999-open.patch,
34 + +files/palo-9999-toolchain.patch, +palo-9999.ebuild:
35 + Add live ebuild.
36
37 30 Jan 2013; Jeroen Roovers <jer@g.o> files/palo.conf:
38 Make default root partition match Handbook.
39 @@ -166,4 +172,3 @@
40
41 05 Feb 2003; Guy Martin <gmsoft@g.o> palo-1.2_pre20030115.ebuild :
42 Initial import.
43 -
44
45
46
47 1.1 sys-boot/palo/palo-9999.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/palo/palo-9999.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/palo/palo-9999.ebuild?rev=1.1&content-type=text/plain
51
52 Index: palo-9999.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/palo-9999.ebuild,v 1.1 2013/06/29 13:30:53 jer Exp $
57
58 EAPI=5
59
60 inherit eutils flag-o-matic git-2 toolchain-funcs
61
62 DESCRIPTION="PALO : PArisc Linux Loader"
63 HOMEPAGE="http://parisc-linux.org/"
64 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS=""
69 IUSE=""
70
71 src_prepare() {
72 epatch \
73 "${FILESDIR}"/${PN}-remove-HOME-TERM.patch \
74 "${FILESDIR}"/${PN}-1.18-include.patch \
75 "${FILESDIR}"/${PN}-9999-open.patch \
76 "${FILESDIR}"/${PN}-9999-toolchain.patch
77 sed -i lib/common.h -e '/^#define PALOVERSION/{s|".*"|"'${PV}'"|g}' || die
78 sed -i palo/Makefile -e '/^LDFLAGS=/d' || die
79 }
80
81 src_compile() {
82 emake MACHINE=parisc AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) \
83 makepalo makeipl || die
84 emake MACHINE=parisc CC=$(tc-getCC) iplboot || die
85 }
86
87 src_install() {
88 into /
89 dosbin palo/palo
90
91 doman palo.8
92 dohtml README.html
93 dodoc README palo.conf
94
95 insinto /etc
96 doins "${FILESDIR}"/palo.conf
97
98 insinto /usr/share/palo
99 doins iplboot
100
101 insinto /etc/kernel/postinst.d/
102 INSOPTIONS="-m 0744" doins "${FILESDIR}"/99palo
103 }