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: Sat, 03 Oct 2020 09:26:55
Message-Id: 1601717204.4dcf86c7d0dd7ab251fca3986628c40581b03cbf.slyfox@gentoo
1 commit: 4dcf86c7d0dd7ab251fca3986628c40581b03cbf
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 09:26:44 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 09:26:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dcf86c7
7
8 sys-boot/elilo: drop old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-boot/elilo/elilo-3.16-r3.ebuild | 90 -------------------------------------
14 1 file changed, 90 deletions(-)
15
16 diff --git a/sys-boot/elilo/elilo-3.16-r3.ebuild b/sys-boot/elilo/elilo-3.16-r3.ebuild
17 deleted file mode 100644
18 index e9dc2ce50c7..00000000000
19 --- a/sys-boot/elilo/elilo-3.16-r3.ebuild
20 +++ /dev/null
21 @@ -1,90 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
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 - "${FILESDIR}"/${PN}-3.16-strncpy-clash.patch
52 -)
53 -
54 -src_unpack() {
55 - unpack ${A} ./${P}-source.tar.gz
56 - mv debian "${S}"/ || die
57 -}
58 -
59 -src_prepare() {
60 - default
61 -
62 - case $(tc-arch) in
63 - ia64) iarch=ia64 ;;
64 - x86) iarch=ia32 ;;
65 - amd64) iarch=x86_64 ;;
66 - *) die "unknown architecture: $(tc-arch)" ;;
67 - esac
68 -
69 - # Now Gentooize it.
70 - sed -i \
71 - -e '1s:/bin/sh:/bin/bash:' \
72 - -e "s:##VERSION##:${PV}:" \
73 - -e 's:Debian GNU/:Gentoo :g' \
74 - -e 's:Debian:Gentoo:g' \
75 - -e 's:debian:gentoo:g' \
76 - -e "s:dpkg --print-architecture:echo ${iarch}:" \
77 - debian/elilo.sh || die
78 -}
79 -
80 -src_compile() {
81 - # "prefix" on the next line specifies where to find gcc, as, ld,
82 - # etc. It's not the usual meaning of "prefix". By blanking it we
83 - # allow PATH to be searched.
84 - local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
85 - emake -j1 \
86 - prefix= \
87 - AS="$(tc-getAS)" \
88 - CC="$(tc-getCC)" \
89 - LD="$(tc-getLD)" \
90 - OBJCOPY="$(tc-getOBJCOPY)" \
91 - HOSTARCH=${iarch} \
92 - ARCH=${iarch} \
93 - EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \
94 - GNUEFILIB="${libdir}" \
95 - EFILIB="${libdir}" \
96 - EFICRT0="${libdir}"
97 -}
98 -
99 -src_install() {
100 - exeinto /usr/lib/elilo
101 - doexe elilo.efi
102 -
103 - newsbin debian/elilo.sh elilo
104 - dosbin tools/eliloalt
105 -
106 - insinto /etc
107 - newins "${FILESDIR}"/elilo.conf.sample elilo.conf
108 -
109 - dodoc docs/* "${FILESDIR}"/elilo.conf.sample
110 - doman debian/*.[0-9]
111 -}