Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/elilo: elilo-3.10.ebuild ChangeLog
Date: Tue, 02 Jun 2009 15:56:46
Message-Id: E1MBWM0-0002Sj-Rm@stork.gentoo.org
1 armin76 09/06/02 15:56:44
2
3 Modified: ChangeLog
4 Added: elilo-3.10.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.6.11/cvs/Linux ia64)
8
9 Revision Changes Path
10 1.23 sys-boot/elilo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/elilo/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/elilo/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/elilo/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-boot/elilo/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 6 May 2009 18:36:06 -0000 1.22
23 +++ ChangeLog 2 Jun 2009 15:56:44 -0000 1.23
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-boot/elilo
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/ChangeLog,v 1.22 2009/05/06 18:36:06 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/ChangeLog,v 1.23 2009/06/02 15:56:44 armin76 Exp $
29 +
30 +*elilo-3.10 (02 Jun 2009)
31 +
32 + 02 Jun 2009; Raúl Porcel <armin76@g.o> +elilo-3.10.ebuild:
33 + Version bump
34
35 06 May 2009; Markus Meier <maekke@g.o> elilo-3.8.ebuild:
36 add ~amd64, bug #208639
37
38
39
40 1.1 sys-boot/elilo/elilo-3.10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/elilo/elilo-3.10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/elilo/elilo-3.10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: elilo-3.10.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/elilo-3.10.ebuild,v 1.1 2009/06/02 15:56:44 armin76 Exp $
50
51 inherit toolchain-funcs eutils
52
53 DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64"
54 HOMEPAGE="http://elilo.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/elilo/${P}.tar.gz"
56 SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.10-1.diff.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~ia64 ~x86 ~amd64"
61 IUSE=""
62
63 # gnu-efi contains only static libs, so there's no run-time dep on it
64 DEPEND=">=sys-boot/gnu-efi-3.0g
65 sys-devel/patch
66 dev-util/patchutils"
67 RDEPEND="sys-boot/efibootmgr
68 sys-fs/dosfstools"
69 PROVIDE="virtual/bootloader"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 ebegin Applying ../*.diff
76 # Using epatch on this is annoying because it wants to create the elilo-3.6/
77 # directory. Since all the files are new, it doesn't know better.
78 filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1
79 eend $? || return
80
81 # Now Gentooize it
82 sed -i "
83 1s:/bin/sh:/bin/bash:;
84 s/##VERSION##/$PV/;
85 s/Debian GNU\//Gentoo /g;
86 s/Debian/Gentoo/g;
87 s/debian/gentoo/g;
88 s/dpkg --print-installation-architecture/uname -m/" debian/elilo.sh
89 }
90
91 src_compile() {
92 local iarch
93 case $(tc-arch) in
94 ia64) iarch=ia64 ;;
95 x86) iarch=ia32 ;;
96 amd64) iarch=x86_64 ;;
97 *) die "unknown architecture: $(tc-arch)" ;;
98 esac
99
100 # "prefix" on the next line specifies where to find gcc, as, ld,
101 # etc. It's not the usual meaning of "prefix". By blanking it we
102 # allow PATH to be searched.
103 emake -j1 prefix= CC="$(tc-getCC)" ARCH=${iarch} || die "emake failed"
104 }
105
106 src_install() {
107 exeinto /usr/lib/elilo
108 doexe elilo.efi || die "elilo.efi failed"
109
110 newsbin debian/elilo.sh elilo || die "elilo failed"
111 dosbin tools/eliloalt || die "eliloalt failed"
112
113 insinto /etc
114 newins "${FILESDIR}"/elilo.conf.sample elilo.conf
115
116 dodoc docs/* "${FILESDIR}"/elilo.conf.sample
117 doman debian/*.[0-9]
118 }