Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/elilo/
Date: Wed, 01 Apr 2020 21:14:25
Message-Id: 1585775649.73644b7339e88e548e00a7ac219e027bc85f69b7.slyfox@gentoo
1 commit: 73644b7339e88e548e00a7ac219e027bc85f69b7
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 20:59:11 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 21:14:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73644b73
7
8 sys-boot/elilo: drop old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-boot/elilo/elilo-3.16-r2.ebuild | 88 -------------------------------------
14 1 file changed, 88 deletions(-)
15
16 diff --git a/sys-boot/elilo/elilo-3.16-r2.ebuild b/sys-boot/elilo/elilo-3.16-r2.ebuild
17 deleted file mode 100644
18 index 6bcb00cc8b7..00000000000
19 --- a/sys-boot/elilo/elilo-3.16-r2.ebuild
20 +++ /dev/null
21 @@ -1,88 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit toolchain-funcs eutils multilib
28 -
29 -DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64"
30 -HOMEPAGE="https://sourceforge.net/projects/elilo/"
31 -SRC_URI="mirror://sourceforge/elilo/${P}-all.tar.gz
32 - mirror://debian/pool/main/e/elilo/elilo_3.14-3.debian.tar.gz"
33 -
34 -LICENSE="GPL-2"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ia64 ~x86"
37 -IUSE=""
38 -
39 -# gnu-efi contains only static libs, so there's no run-time dep on it
40 -DEPEND=">=sys-boot/gnu-efi-3.0g
41 - dev-util/patchutils"
42 -# dosfstools[compat] to enable 'dosfsck' symlink
43 -RDEPEND="sys-boot/efibootmgr
44 - sys-fs/dosfstools[compat]"
45 -
46 -S="${WORKDIR}/${P}-source"
47 -
48 -PATCHES=(
49 - "${FILESDIR}"/${PN}-3.16-elilo-loop.patch #299665
50 - "${FILESDIR}"/${PN}-3.16-gnu-efi-3.0.6-ia64.patch
51 -)
52 -
53 -src_unpack() {
54 - unpack ${A} ./${P}-source.tar.gz
55 - mv debian "${S}"/ || die
56 -}
57 -
58 -src_prepare() {
59 - default
60 -
61 - case $(tc-arch) in
62 - ia64) iarch=ia64 ;;
63 - x86) iarch=ia32 ;;
64 - amd64) iarch=x86_64 ;;
65 - *) die "unknown architecture: $(tc-arch)" ;;
66 - esac
67 -
68 - # Now Gentooize it.
69 - sed -i \
70 - -e '1s:/bin/sh:/bin/bash:' \
71 - -e "s:##VERSION##:${PV}:" \
72 - -e 's:Debian GNU/:Gentoo :g' \
73 - -e 's:Debian:Gentoo:g' \
74 - -e 's:debian:gentoo:g' \
75 - -e "s:dpkg --print-architecture:echo ${iarch}:" \
76 - debian/elilo.sh || die
77 -}
78 -
79 -src_compile() {
80 - # "prefix" on the next line specifies where to find gcc, as, ld,
81 - # etc. It's not the usual meaning of "prefix". By blanking it we
82 - # allow PATH to be searched.
83 - local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
84 - emake -j1 \
85 - prefix= \
86 - AS="$(tc-getAS)" \
87 - CC="$(tc-getCC)" \
88 - LD="$(tc-getLD)" \
89 - HOSTARCH=${iarch} \
90 - ARCH=${iarch} \
91 - EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \
92 - GNUEFILIB="${libdir}" \
93 - EFILIB="${libdir}" \
94 - EFICRT0="${libdir}"
95 -}
96 -
97 -src_install() {
98 - exeinto /usr/lib/elilo
99 - doexe elilo.efi
100 -
101 - newsbin debian/elilo.sh elilo
102 - dosbin tools/eliloalt
103 -
104 - insinto /etc
105 - newins "${FILESDIR}"/elilo.conf.sample elilo.conf
106 -
107 - dodoc docs/* "${FILESDIR}"/elilo.conf.sample
108 - doman debian/*.[0-9]
109 -}