1 |
commit: 2936cd17dc355660656669dded43ee8c5ff12838 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 28 12:30:45 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 12:30:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2936cd17 |
7 |
|
8 |
sys-boot/elilo: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
sys-boot/elilo/Manifest | 6 --- |
14 |
sys-boot/elilo/elilo-3.10.ebuild | 72 ------------------------- |
15 |
sys-boot/elilo/elilo-3.12.ebuild | 72 ------------------------- |
16 |
sys-boot/elilo/elilo-3.16-r1.ebuild | 87 ------------------------------ |
17 |
sys-boot/elilo/elilo-3.16.ebuild | 85 ----------------------------- |
18 |
sys-boot/elilo/elilo-3.6_p20060314.ebuild | 88 ------------------------------- |
19 |
6 files changed, 410 deletions(-) |
20 |
|
21 |
diff --git a/sys-boot/elilo/Manifest b/sys-boot/elilo/Manifest |
22 |
index 5d0dfd43a4c..41b5e2e78a3 100644 |
23 |
--- a/sys-boot/elilo/Manifest |
24 |
+++ b/sys-boot/elilo/Manifest |
25 |
@@ -1,8 +1,2 @@ |
26 |
-DIST elilo-3.10.tar.gz 210896 BLAKE2B 843b9b1c3c3ad44406225245663c4ad3febfeb5e890940e25f4a397072cc8e357d1ab57717669095ed3bc296ec9fe9ef7423b52121be385b649e845ec60c792d SHA512 4ec104f2d6a36745689619976e9811b5f5cd0d25be0f613d649ca2ff379e0514ab77c03bb474b32da87d73bd687d3d9faa9f2d07859e4c208b5d5a5a50d47e24 |
27 |
-DIST elilo-3.12-source.tar.gz 215125 BLAKE2B 5dc3c1f48252ac8cba625ff81608e01dfd59a9572ab4e33d0785380beb759bafd38cc20412033443427a0ae0865ec66bb669c5b99b04bbc1fde8e364a19c80b2 SHA512 a9dceb1e03ec1cabcaef696e4d1b8fe8683b0feeef2171781536bc469f8bcd0b3ab9b4460b149bb1bf68c651bce8c7abec5ef4f47e78113a611594a69e91239c |
28 |
DIST elilo-3.16-all.tar.gz 485844 BLAKE2B 813762ffef32a640c074973a07d886e0de137be10ff08e9375cd894b0d83dd8bc96cc33f80da1e698db49cc9f105a905abb2fa04048eaca394d3d70e79cb8534 SHA512 4289b45f2e40b2a12167f2efd9a482cf97baedb13fc24813f360f375296d0d3f107d6c980b4b31262816f664a2536353fa124e689cbd65093da9b16fdddaf842 |
29 |
-DIST elilo-nightly_2006-03-14.tgz 168991 BLAKE2B a339e3c39bb3c4068606f66aeafea0be42c4cc9fa6652a06fbcd33b088cac38bc61c35de2240a2bebff2b15f4cbc7f221a90392995ff40099275702d5e6cf8c0 SHA512 8f4bab99c9e823e1755a299e04a5d89b09d74e06a986b9732b2f48bd96c389c54d5af1fb59c4e06fe55dbe80340cfcdf63a9b0c1de1a1ed5cd0a3dd2df5f5fc2 |
30 |
-DIST elilo_3.10-1.diff.gz 26456 BLAKE2B a9fb76241296ce944ab5286a34cbda7e3521f5989541e5f6538423d0fda402020a96d49e927d6a600a757aa32cc656ea6f8bf496ab19db78bfa47e9381aa9b32 SHA512 87e5bea09e66c65f048fab99ca9dfc5f0e61dd48b4ee012b7139d66af92291a79b33e2577139bfa529fd3c303b247a344384614927dfc3c2cff894bb032a3bc6 |
31 |
-DIST elilo_3.12-1.diff.gz 28806 BLAKE2B 0b998f4ed5d5f15d661b65baaf7292b1d4f970b1327ba2fd60b1ec3464d8cb6d74d0d1f255e07bc61cd48cb1a3360cddace8804f7ee89e9035db915a6ca72b6e SHA512 ed3394880ae0dae63a3e6b92ccb2a8251b6fa6bbfda7e45a53fa45a06a899a89b9a760dafd44425b424b0455b7d37d6e8738da2477fae42ebf67a3b038a7e944 |
32 |
DIST elilo_3.14-3.debian.tar.gz 32179 BLAKE2B 84f8055d3e33b99ce91079768da80a8800c3c2f569ce5619641a983efb943055dfd9a8fb2fda8e5e6d60009ffefbcc1573098f022f06635d4d5304bc3bfddf1e SHA512 b2d5927bf84d61cc432fc916301ddb3be74db16d3e5ba4f13039e2925606b8870991fbb17f837005d8f2b655b7dcd2b2311dfacd7f02183762caf7081ede638f |
33 |
-DIST elilo_3.6-1.diff.gz 14944 BLAKE2B c982bce4610168408c57beaeca70f7c2be130a75e29b662f5d21ab22097374cc2c8152f24a6eef73039fd6eb365d66c3d4d63f52fe021bb5b126f1932efdaec3 SHA512 962672f516de48f88bd453248d6469a4962fb7551214de9f73125deb64121ab08d123746b2cf8c1c202177f7272aad4cb63e6970f1860c772930bae580817bee |
34 |
|
35 |
diff --git a/sys-boot/elilo/elilo-3.10.ebuild b/sys-boot/elilo/elilo-3.10.ebuild |
36 |
deleted file mode 100644 |
37 |
index 9ce45ff9f51..00000000000 |
38 |
--- a/sys-boot/elilo/elilo-3.10.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,72 +0,0 @@ |
41 |
-# Copyright 1999-2018 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=0 |
45 |
- |
46 |
-inherit toolchain-funcs eutils |
47 |
- |
48 |
-DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" |
49 |
-HOMEPAGE="https://sourceforge.net/projects/elilo/" |
50 |
-SRC_URI="mirror://sourceforge/elilo/${P}.tar.gz" |
51 |
-SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.10-1.diff.gz" |
52 |
- |
53 |
-LICENSE="GPL-2" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64 ia64 ~x86" |
56 |
-IUSE="" |
57 |
- |
58 |
-# gnu-efi contains only static libs, so there's no run-time dep on it |
59 |
-DEPEND=">=sys-boot/gnu-efi-3.0g |
60 |
- sys-devel/patch |
61 |
- dev-util/patchutils" |
62 |
-RDEPEND="sys-boot/efibootmgr |
63 |
- sys-fs/dosfstools" |
64 |
- |
65 |
-src_unpack() { |
66 |
- unpack ${A} |
67 |
- cd "${S}" |
68 |
- |
69 |
- ebegin Applying ../*.diff |
70 |
- # Using epatch on this is annoying because it wants to create the elilo-3.6/ |
71 |
- # directory. Since all the files are new, it doesn't know better. |
72 |
- filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1 |
73 |
- eend $? || return |
74 |
- |
75 |
- # Now Gentooize it |
76 |
- sed -i " |
77 |
- 1s:/bin/sh:/bin/bash:; |
78 |
- s/##VERSION##/$PV/; |
79 |
- s/Debian GNU\//Gentoo /g; |
80 |
- s/Debian/Gentoo/g; |
81 |
- s/debian/gentoo/g; |
82 |
- s/dpkg --print-installation-architecture/uname -m/" debian/elilo.sh |
83 |
-} |
84 |
- |
85 |
-src_compile() { |
86 |
- local iarch |
87 |
- case $(tc-arch) in |
88 |
- ia64) iarch=ia64 ;; |
89 |
- x86) iarch=ia32 ;; |
90 |
- amd64) iarch=x86_64 ;; |
91 |
- *) die "unknown architecture: $(tc-arch)" ;; |
92 |
- esac |
93 |
- |
94 |
- # "prefix" on the next line specifies where to find gcc, as, ld, |
95 |
- # etc. It's not the usual meaning of "prefix". By blanking it we |
96 |
- # allow PATH to be searched. |
97 |
- emake -j1 prefix= CC="$(tc-getCC)" ARCH=${iarch} || die "emake failed" |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- exeinto /usr/lib/elilo |
102 |
- doexe elilo.efi || die "elilo.efi failed" |
103 |
- |
104 |
- newsbin debian/elilo.sh elilo || die "elilo failed" |
105 |
- dosbin tools/eliloalt || die "eliloalt failed" |
106 |
- |
107 |
- insinto /etc |
108 |
- newins "${FILESDIR}"/elilo.conf.sample elilo.conf |
109 |
- |
110 |
- dodoc docs/* "${FILESDIR}"/elilo.conf.sample |
111 |
- doman debian/*.[0-9] |
112 |
-} |
113 |
|
114 |
diff --git a/sys-boot/elilo/elilo-3.12.ebuild b/sys-boot/elilo/elilo-3.12.ebuild |
115 |
deleted file mode 100644 |
116 |
index 4a47ac7a191..00000000000 |
117 |
--- a/sys-boot/elilo/elilo-3.12.ebuild |
118 |
+++ /dev/null |
119 |
@@ -1,72 +0,0 @@ |
120 |
-# Copyright 1999-2018 Gentoo Foundation |
121 |
-# Distributed under the terms of the GNU General Public License v2 |
122 |
- |
123 |
-EAPI=0 |
124 |
- |
125 |
-inherit toolchain-funcs eutils |
126 |
- |
127 |
-DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" |
128 |
-HOMEPAGE="https://sourceforge.net/projects/elilo/" |
129 |
-SRC_URI="mirror://sourceforge/elilo/${P}-source.tar.gz" |
130 |
-SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.12-1.diff.gz" |
131 |
- |
132 |
-LICENSE="GPL-2" |
133 |
-SLOT="0" |
134 |
-KEYWORDS="~amd64 ia64 ~x86" |
135 |
-IUSE="" |
136 |
- |
137 |
-# gnu-efi contains only static libs, so there's no run-time dep on it |
138 |
-DEPEND=">=sys-boot/gnu-efi-3.0g |
139 |
- sys-devel/patch |
140 |
- dev-util/patchutils" |
141 |
-RDEPEND="sys-boot/efibootmgr |
142 |
- sys-fs/dosfstools" |
143 |
- |
144 |
-src_unpack() { |
145 |
- unpack ${A} |
146 |
- cd "${S}" |
147 |
- |
148 |
- ebegin Applying ../*.diff |
149 |
- # Using epatch on this is annoying because it wants to create the elilo-3.6/ |
150 |
- # directory. Since all the files are new, it doesn't know better. |
151 |
- filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1 |
152 |
- eend $? || return |
153 |
- |
154 |
- # Now Gentooize it |
155 |
- sed -i " |
156 |
- 1s:/bin/sh:/bin/bash:; |
157 |
- s/##VERSION##/$PV/; |
158 |
- s/Debian GNU\//Gentoo /g; |
159 |
- s/Debian/Gentoo/g; |
160 |
- s/debian/gentoo/g; |
161 |
- s/dpkg --print-architecture/uname -m/" debian/elilo.sh |
162 |
-} |
163 |
- |
164 |
-src_compile() { |
165 |
- local iarch |
166 |
- case $(tc-arch) in |
167 |
- ia64) iarch=ia64 ;; |
168 |
- x86) iarch=ia32 ;; |
169 |
- amd64) iarch=x86_64 ;; |
170 |
- *) die "unknown architecture: $(tc-arch)" ;; |
171 |
- esac |
172 |
- |
173 |
- # "prefix" on the next line specifies where to find gcc, as, ld, |
174 |
- # etc. It's not the usual meaning of "prefix". By blanking it we |
175 |
- # allow PATH to be searched. |
176 |
- emake -j1 prefix= CC="$(tc-getCC)" ARCH=${iarch} || die "emake failed" |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- exeinto /usr/lib/elilo |
181 |
- doexe elilo.efi || die "elilo.efi failed" |
182 |
- |
183 |
- newsbin debian/elilo.sh elilo || die "elilo failed" |
184 |
- dosbin tools/eliloalt || die "eliloalt failed" |
185 |
- |
186 |
- insinto /etc |
187 |
- newins "${FILESDIR}"/elilo.conf.sample elilo.conf |
188 |
- |
189 |
- dodoc docs/* "${FILESDIR}"/elilo.conf.sample |
190 |
- doman debian/*.[0-9] |
191 |
-} |
192 |
|
193 |
diff --git a/sys-boot/elilo/elilo-3.16-r1.ebuild b/sys-boot/elilo/elilo-3.16-r1.ebuild |
194 |
deleted file mode 100644 |
195 |
index 96b2860daf6..00000000000 |
196 |
--- a/sys-boot/elilo/elilo-3.16-r1.ebuild |
197 |
+++ /dev/null |
198 |
@@ -1,87 +0,0 @@ |
199 |
-# Copyright 1999-2018 Gentoo Foundation |
200 |
-# Distributed under the terms of the GNU General Public License v2 |
201 |
- |
202 |
-EAPI=6 |
203 |
- |
204 |
-inherit toolchain-funcs eutils multilib |
205 |
- |
206 |
-DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" |
207 |
-HOMEPAGE="https://sourceforge.net/projects/elilo/" |
208 |
-SRC_URI="mirror://sourceforge/elilo/${P}-all.tar.gz |
209 |
- mirror://debian/pool/main/e/elilo/elilo_3.14-3.debian.tar.gz" |
210 |
- |
211 |
-LICENSE="GPL-2" |
212 |
-SLOT="0" |
213 |
-KEYWORDS="~amd64 ~ia64 ~x86" |
214 |
-IUSE="" |
215 |
- |
216 |
-# gnu-efi contains only static libs, so there's no run-time dep on it |
217 |
-DEPEND=">=sys-boot/gnu-efi-3.0g |
218 |
- dev-util/patchutils" |
219 |
-# dosfstools[compat] to enable 'dosfsck' symlink |
220 |
-RDEPEND="sys-boot/efibootmgr |
221 |
- sys-fs/dosfstools[compat]" |
222 |
- |
223 |
-S="${WORKDIR}/${P}-source" |
224 |
- |
225 |
-PATCHES=( |
226 |
- "${FILESDIR}"/${PN}-3.16-elilo-loop.patch #299665 |
227 |
-) |
228 |
- |
229 |
-src_unpack() { |
230 |
- unpack ${A} ./${P}-source.tar.gz |
231 |
- mv debian "${S}"/ || die |
232 |
-} |
233 |
- |
234 |
-src_prepare() { |
235 |
- default |
236 |
- |
237 |
- case $(tc-arch) in |
238 |
- ia64) iarch=ia64 ;; |
239 |
- x86) iarch=ia32 ;; |
240 |
- amd64) iarch=x86_64 ;; |
241 |
- *) die "unknown architecture: $(tc-arch)" ;; |
242 |
- esac |
243 |
- |
244 |
- # Now Gentooize it. |
245 |
- sed -i \ |
246 |
- -e '1s:/bin/sh:/bin/bash:' \ |
247 |
- -e "s:##VERSION##:${PV}:" \ |
248 |
- -e 's:Debian GNU/:Gentoo :g' \ |
249 |
- -e 's:Debian:Gentoo:g' \ |
250 |
- -e 's:debian:gentoo:g' \ |
251 |
- -e "s:dpkg --print-architecture:echo ${iarch}:" \ |
252 |
- debian/elilo.sh || die |
253 |
-} |
254 |
- |
255 |
-src_compile() { |
256 |
- # "prefix" on the next line specifies where to find gcc, as, ld, |
257 |
- # etc. It's not the usual meaning of "prefix". By blanking it we |
258 |
- # allow PATH to be searched. |
259 |
- local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" |
260 |
- emake -j1 \ |
261 |
- prefix= \ |
262 |
- AS="$(tc-getAS)" \ |
263 |
- CC="$(tc-getCC)" \ |
264 |
- LD="$(tc-getLD)" \ |
265 |
- HOSTARCH=${iarch} \ |
266 |
- ARCH=${iarch} \ |
267 |
- EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \ |
268 |
- GNUEFILIB="${libdir}" \ |
269 |
- EFILIB="${libdir}" \ |
270 |
- EFICRT0="${libdir}" |
271 |
-} |
272 |
- |
273 |
-src_install() { |
274 |
- exeinto /usr/lib/elilo |
275 |
- doexe elilo.efi |
276 |
- |
277 |
- newsbin debian/elilo.sh elilo |
278 |
- dosbin tools/eliloalt |
279 |
- |
280 |
- insinto /etc |
281 |
- newins "${FILESDIR}"/elilo.conf.sample elilo.conf |
282 |
- |
283 |
- dodoc docs/* "${FILESDIR}"/elilo.conf.sample |
284 |
- doman debian/*.[0-9] |
285 |
-} |
286 |
|
287 |
diff --git a/sys-boot/elilo/elilo-3.16.ebuild b/sys-boot/elilo/elilo-3.16.ebuild |
288 |
deleted file mode 100644 |
289 |
index 7f215a84141..00000000000 |
290 |
--- a/sys-boot/elilo/elilo-3.16.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,85 +0,0 @@ |
293 |
-# Copyright 1999-2017 Gentoo Foundation |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
- |
296 |
-EAPI="5" |
297 |
- |
298 |
-inherit toolchain-funcs eutils multilib |
299 |
- |
300 |
-DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" |
301 |
-HOMEPAGE="https://sourceforge.net/projects/elilo/" |
302 |
-SRC_URI="mirror://sourceforge/elilo/${P}-all.tar.gz |
303 |
- mirror://debian/pool/main/e/elilo/elilo_3.14-3.debian.tar.gz" |
304 |
- |
305 |
-LICENSE="GPL-2" |
306 |
-SLOT="0" |
307 |
-KEYWORDS="~amd64 ~ia64 ~x86" |
308 |
-IUSE="" |
309 |
- |
310 |
-# gnu-efi contains only static libs, so there's no run-time dep on it |
311 |
-DEPEND=">=sys-boot/gnu-efi-3.0g |
312 |
- dev-util/patchutils" |
313 |
-RDEPEND="sys-boot/efibootmgr |
314 |
- sys-fs/dosfstools" |
315 |
- |
316 |
-S="${WORKDIR}/${P}-source" |
317 |
- |
318 |
-src_unpack() { |
319 |
- unpack ${A} ./${P}-source.tar.gz |
320 |
- mv debian "${S}"/ || die |
321 |
-} |
322 |
- |
323 |
-src_prepare() { |
324 |
- epatch "${FILESDIR}"/${PN}-3.16-elilo-loop.patch #299665 |
325 |
- |
326 |
- # The patches Debian had were merged upstream. |
327 |
- #epatch debian/patches/*.diff |
328 |
- |
329 |
- case $(tc-arch) in |
330 |
- ia64) iarch=ia64 ;; |
331 |
- x86) iarch=ia32 ;; |
332 |
- amd64) iarch=x86_64 ;; |
333 |
- *) die "unknown architecture: $(tc-arch)" ;; |
334 |
- esac |
335 |
- |
336 |
- # Now Gentooize it. |
337 |
- sed -i \ |
338 |
- -e '1s:/bin/sh:/bin/bash:' \ |
339 |
- -e "s:##VERSION##:${PV}:" \ |
340 |
- -e 's:Debian GNU/:Gentoo :g' \ |
341 |
- -e 's:Debian:Gentoo:g' \ |
342 |
- -e 's:debian:gentoo:g' \ |
343 |
- -e "s:dpkg --print-architecture:echo ${iarch}:" \ |
344 |
- debian/elilo.sh || die |
345 |
-} |
346 |
- |
347 |
-src_compile() { |
348 |
- # "prefix" on the next line specifies where to find gcc, as, ld, |
349 |
- # etc. It's not the usual meaning of "prefix". By blanking it we |
350 |
- # allow PATH to be searched. |
351 |
- local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" |
352 |
- emake -j1 \ |
353 |
- prefix= \ |
354 |
- AS="$(tc-getAS)" \ |
355 |
- CC="$(tc-getCC)" \ |
356 |
- LD="$(tc-getLD)" \ |
357 |
- HOSTARCH=${iarch} \ |
358 |
- ARCH=${iarch} \ |
359 |
- EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \ |
360 |
- GNUEFILIB="${libdir}" \ |
361 |
- EFILIB="${libdir}" \ |
362 |
- EFICRT0="${libdir}" |
363 |
-} |
364 |
- |
365 |
-src_install() { |
366 |
- exeinto /usr/lib/elilo |
367 |
- doexe elilo.efi |
368 |
- |
369 |
- newsbin debian/elilo.sh elilo |
370 |
- dosbin tools/eliloalt |
371 |
- |
372 |
- insinto /etc |
373 |
- newins "${FILESDIR}"/elilo.conf.sample elilo.conf |
374 |
- |
375 |
- dodoc docs/* "${FILESDIR}"/elilo.conf.sample |
376 |
- doman debian/*.[0-9] |
377 |
-} |
378 |
|
379 |
diff --git a/sys-boot/elilo/elilo-3.6_p20060314.ebuild b/sys-boot/elilo/elilo-3.6_p20060314.ebuild |
380 |
deleted file mode 100644 |
381 |
index b9c3295daa6..00000000000 |
382 |
--- a/sys-boot/elilo/elilo-3.6_p20060314.ebuild |
383 |
+++ /dev/null |
384 |
@@ -1,88 +0,0 @@ |
385 |
-# Copyright 1999-2018 Gentoo Foundation |
386 |
-# Distributed under the terms of the GNU General Public License v2 |
387 |
- |
388 |
-EAPI=0 |
389 |
- |
390 |
-inherit toolchain-funcs eutils |
391 |
- |
392 |
-DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" |
393 |
-HOMEPAGE="https://sourceforge.net/projects/elilo/" |
394 |
-if [[ $PV == *_p* ]] ; then |
395 |
- MY_P=${PV#*_p} |
396 |
- MY_P=${PN}-nightly_${MY_P:0:4}-${MY_P:4:2}-${MY_P:6:2} |
397 |
- SRC_URI="http://elilo.sourceforge.net/nightlies/${MY_P}.tgz" |
398 |
- S=${WORKDIR}/elilo |
399 |
-else |
400 |
- MY_P=${P} |
401 |
- SRC_URI="mirror://sourceforge/elilo/${P}.src.tgz" |
402 |
-fi |
403 |
-SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.6-1.diff.gz" |
404 |
- |
405 |
-LICENSE="GPL-2" |
406 |
-SLOT="0" |
407 |
-KEYWORDS="ia64" |
408 |
-IUSE="" |
409 |
- |
410 |
-# gnu-efi contains only static libs, so there's no run-time dep on it |
411 |
-DEPEND=">=sys-boot/gnu-efi-3.0 |
412 |
- sys-devel/patch |
413 |
- dev-util/patchutils" |
414 |
-RDEPEND="sys-boot/efibootmgr |
415 |
- sys-fs/dosfstools" |
416 |
- |
417 |
-S=${WORKDIR}/${PN} |
418 |
- |
419 |
-src_unpack() { |
420 |
- unpack ${A} |
421 |
- cd "${S}" |
422 |
- |
423 |
- ebegin Applying ../*.diff |
424 |
- # Using epatch on this is annoying because it wants to create the elilo-3.6/ |
425 |
- # directory. Since all the files are new, it doesn't know better. |
426 |
- filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1 |
427 |
- eend $? || return |
428 |
- |
429 |
- # Add patch for vmm support, from |
430 |
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350185 |
431 |
- epatch "${FILESDIR}"/elilo.sh-vmm.patch |
432 |
- |
433 |
- # Don't count files twice when summing bytesneeded |
434 |
- epatch "${FILESDIR}"/elilo.sh-chkspace.patch |
435 |
- |
436 |
- # Now Gentooize it |
437 |
- sed -i " |
438 |
- 1s/sh/bash/; |
439 |
- s/##VERSION##/$PV/; |
440 |
- s/Debian GNU\//Gentoo /g; |
441 |
- s/Debian/Gentoo/g; |
442 |
- s/debian/gentoo/g; |
443 |
- s/dpkg --print-installation-architecture/uname -m/" debian/elilo.sh |
444 |
-} |
445 |
- |
446 |
-src_compile() { |
447 |
- local iarch |
448 |
- case $(tc-arch) in |
449 |
- ia64) iarch=ia64 ;; |
450 |
- x86) iarch=ia32 ;; |
451 |
- *) die "unknown architecture: $(tc-arch)" ;; |
452 |
- esac |
453 |
- |
454 |
- # "prefix" on the next line specifies where to find gcc, as, ld, |
455 |
- # etc. It's not the usual meaning of "prefix". By blanking it we |
456 |
- # allow PATH to be searched. |
457 |
- emake -j1 prefix= CC="$(tc-getCC)" ARCH=${iarch} || die "emake failed" |
458 |
-} |
459 |
- |
460 |
-src_install() { |
461 |
- exeinto /usr/lib/elilo |
462 |
- doexe elilo.efi || die "elilo.efi failed" |
463 |
- |
464 |
- newsbin debian/elilo.sh elilo || die "elilo failed" |
465 |
- dosbin tools/eliloalt || die "eliloalt failed" |
466 |
- |
467 |
- insinto /etc |
468 |
- newins "${FILESDIR}"/elilo.conf.sample elilo.conf |
469 |
- |
470 |
- dodoc docs/* "${FILESDIR}"/elilo.conf.sample |
471 |
- doman debian/*.[0-9] |
472 |
-} |