diff options
author | Raúl Porcel <armin76@gentoo.org> | 2010-01-10 16:37:29 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2010-01-10 16:37:29 +0000 |
commit | d093bb813c0e4ac0a862253f66c57c55cd42358a (patch) | |
tree | f051a4d20d019d0756a0557a65cf2825ccc7bf6c /sys-boot | |
parent | Transfer Prefix keywords (diff) | |
download | gentoo-2-d093bb813c0e4ac0a862253f66c57c55cd42358a.tar.gz gentoo-2-d093bb813c0e4ac0a862253f66c57c55cd42358a.tar.bz2 gentoo-2-d093bb813c0e4ac0a862253f66c57c55cd42358a.zip |
ia64 stable, version bump
(Portage version: 2.1.6.13/cvs/Linux ia64)
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/elilo/ChangeLog | 10 | ||||
-rw-r--r-- | sys-boot/elilo/elilo-3.10.ebuild | 6 | ||||
-rw-r--r-- | sys-boot/elilo/elilo-3.12.ebuild | 72 |
3 files changed, 83 insertions, 5 deletions
diff --git a/sys-boot/elilo/ChangeLog b/sys-boot/elilo/ChangeLog index 13296aa03e1e..4c888beca9a3 100644 --- a/sys-boot/elilo/ChangeLog +++ b/sys-boot/elilo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-boot/elilo -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/ChangeLog,v 1.23 2009/06/02 15:56:44 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/ChangeLog,v 1.24 2010/01/10 16:37:29 armin76 Exp $ + +*elilo-3.12 (10 Jan 2010) + + 10 Jan 2010; Raúl Porcel <armin76@gentoo.org> elilo-3.10.ebuild, + +elilo-3.12.ebuild: + ia64 stable, version bump *elilo-3.10 (02 Jun 2009) diff --git a/sys-boot/elilo/elilo-3.10.ebuild b/sys-boot/elilo/elilo-3.10.ebuild index 0fd417707e0e..ff506025dc43 100644 --- a/sys-boot/elilo/elilo-3.10.ebuild +++ b/sys-boot/elilo/elilo-3.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/elilo-3.10.ebuild,v 1.1 2009/06/02 15:56:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/elilo-3.10.ebuild,v 1.2 2010/01/10 16:37:29 armin76 Exp $ inherit toolchain-funcs eutils @@ -11,7 +11,7 @@ SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.10-1.diff.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ia64 ~x86 ~amd64" +KEYWORDS="~amd64 ia64 ~x86" IUSE="" # gnu-efi contains only static libs, so there's no run-time dep on it diff --git a/sys-boot/elilo/elilo-3.12.ebuild b/sys-boot/elilo/elilo-3.12.ebuild new file mode 100644 index 000000000000..536601d6d27f --- /dev/null +++ b/sys-boot/elilo/elilo-3.12.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/elilo/elilo-3.12.ebuild,v 1.1 2010/01/10 16:37:29 armin76 Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64" +HOMEPAGE="http://elilo.sourceforge.net/" +SRC_URI="mirror://sourceforge/elilo/${P}-source.tar.gz" +SRC_URI="${SRC_URI} mirror://debian/pool/main/e/elilo/elilo_3.12-1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ia64 ~x86 ~amd64" +IUSE="" + +# gnu-efi contains only static libs, so there's no run-time dep on it +DEPEND=">=sys-boot/gnu-efi-3.0g + sys-devel/patch + dev-util/patchutils" +RDEPEND="sys-boot/efibootmgr + sys-fs/dosfstools" +PROVIDE="virtual/bootloader" + +src_unpack() { + unpack ${A} + cd "${S}" + + ebegin Applying ../*.diff + # Using epatch on this is annoying because it wants to create the elilo-3.6/ + # directory. Since all the files are new, it doesn't know better. + filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1 + eend $? || return + + # Now Gentooize it + sed -i " + 1s:/bin/sh:/bin/bash:; + s/##VERSION##/$PV/; + s/Debian GNU\//Gentoo /g; + s/Debian/Gentoo/g; + s/debian/gentoo/g; + s/dpkg --print-architecture/uname -m/" debian/elilo.sh +} + +src_compile() { + local iarch + case $(tc-arch) in + ia64) iarch=ia64 ;; + x86) iarch=ia32 ;; + amd64) iarch=x86_64 ;; + *) die "unknown architecture: $(tc-arch)" ;; + esac + + # "prefix" on the next line specifies where to find gcc, as, ld, + # etc. It's not the usual meaning of "prefix". By blanking it we + # allow PATH to be searched. + emake -j1 prefix= CC="$(tc-getCC)" ARCH=${iarch} || die "emake failed" +} + +src_install() { + exeinto /usr/lib/elilo + doexe elilo.efi || die "elilo.efi failed" + + newsbin debian/elilo.sh elilo || die "elilo failed" + dosbin tools/eliloalt || die "eliloalt failed" + + insinto /etc + newins "${FILESDIR}"/elilo.conf.sample elilo.conf + + dodoc docs/* "${FILESDIR}"/elilo.conf.sample + doman debian/*.[0-9] +} |