diff options
author | 2001-10-31 18:24:08 +0000 | |
---|---|---|
committer | 2001-10-31 18:24:08 +0000 | |
commit | f82c1d14143268c9a5b2cf3ddb9d3a5080bc22b4 (patch) | |
tree | 7e3beb35c8bc3f7bf82b2ff88a7e3b05c809dd10 /sys-apps/grub | |
parent | Reverted to my original ebuild. Fixed version w/ Hallski's patches will (diff) | |
download | gentoo-2-f82c1d14143268c9a5b2cf3ddb9d3a5080bc22b4.tar.gz gentoo-2-f82c1d14143268c9a5b2cf3ddb9d3a5080bc22b4.tar.bz2 gentoo-2-f82c1d14143268c9a5b2cf3ddb9d3a5080bc22b4.zip |
New version w/ Hallski's patches put in that I somehow killed before.
Diffstat (limited to 'sys-apps/grub')
-rw-r--r-- | sys-apps/grub/grub-0.90-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sys-apps/grub/grub-0.90-r1.ebuild b/sys-apps/grub/grub-0.90-r1.ebuild new file mode 100644 index 000000000000..12cfc5d46aad --- /dev/null +++ b/sys-apps/grub/grub-0.90-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grub/grub-0.90-r1.ebuild,v 1.1 2001/10/31 18:24:08 g2boojum Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU GRUB boot loader" +SRC_URI="ftp://alpha.gnu.org/gnu/grub/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/grub" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2" + +src_unpack() { + unpack ${A} + cd ${S} + echo patch: vga16 + patch -p1 < ${FILESDIR}/${P}/grub-0.5.97-vga16.patch || die + echo patch: special raid devices + patch -p1 < ${FILESDIR}/${P}/grub-0.5.96.1-special-raid-devices.patch || die + echo patch: dont give mem to kernel + patch -p1 < ${FILESDIR}/${P}/grub-0.5.96.1-dont-give-mem-to-kernel.patch || die +# try patch -p1 < ${FILESDIR}/${P}/grub-0.90-configfile.patch + echo patch: vga16-keypressclear + patch -p1 < ${FILESDIR}/${P}/grub-0.90-vga16-keypressclear.patch || die + echo patch: passwordprompt + patch -p1 < ${FILESDIR}/${P}/grub-0.90-passwordprompt.patch || die + echo patch: install.in + patch -p1 < ${FILESDIR}/${P}/grub-0.90-install.in.patch || die + echo patch: installcopyonly + patch -p1 < ${FILESDIR}/${P}/grub-0.90-installcopyonly.patch || die +} + +src_compile() { + + ./configure --prefix=/usr --sbindir=/sbin --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST} || die + emake -e CPPFLAGS="-Wall -Wmissing-prototypes -Wunused -Wshadow -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef" || die + +} + +src_install() { + + make prefix=${D}/usr sbindir=${D}/sbin mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die + + if [ -z "`use bootcd`" ] + then + dodir /boot/grub + cd ${D}/usr/share/grub/i386-pc + cp stage1 stage2 *stage1_5 ${D}/boot/grub + cp ${FILESDIR}/${P}/splash.xpm.gz ${D}/boot/grub + dosym . /boot/boot + cd ${S} + dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO + else + rm -rf ${D}/usr/share/{man,info,doc} + fi +} |