diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-31 18:23:26 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-31 18:23:26 +0000 |
commit | 8b208cc627f2de76650b173536eb865aa930cfb5 (patch) | |
tree | 82b643d9aed5b5c3fbab57275e7b7c562f1937a5 /sys-apps/grub | |
parent | updated LPRng version (diff) | |
download | gentoo-2-8b208cc627f2de76650b173536eb865aa930cfb5.tar.gz gentoo-2-8b208cc627f2de76650b173536eb865aa930cfb5.tar.bz2 gentoo-2-8b208cc627f2de76650b173536eb865aa930cfb5.zip |
Reverted to my original ebuild. Fixed version w/ Hallski's patches will
be -r1.
Diffstat (limited to 'sys-apps/grub')
-rw-r--r-- | sys-apps/grub/grub-0.90.ebuild | 45 |
1 files changed, 10 insertions, 35 deletions
diff --git a/sys-apps/grub/grub-0.90.ebuild b/sys-apps/grub/grub-0.90.ebuild index 3c697fa44147..670bac7fbb5b 100644 --- a/sys-apps/grub/grub-0.90.ebuild +++ b/sys-apps/grub/grub-0.90.ebuild @@ -1,57 +1,32 @@ # 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.ebuild,v 1.7 2001/10/31 18:05:33 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grub/grub-0.90.ebuild,v 1.8 2001/10/31 18:23:26 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" +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 + #patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die } src_compile() { - - ./configure --prefix=/usr --sbindir=/sbin --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST} || die + ./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 + dodir /boot/grub + cd ${D}/usr/share/grub/i386-pc + cp stage1 stage2 *stage1_5 ${D}/boot/grub + dosym . /boot/boot + cd ${S} + dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO } |