diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-09 18:35:26 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-09 18:35:26 +0000 |
commit | d0c2e92f0f7dff86ae7d09113407ba59ea3d35e0 (patch) | |
tree | 337a41bb0d66579618aa9f159a6bbce2b3c037b8 /sys-apps | |
parent | change some spaces to tabs (diff) | |
download | gentoo-2-d0c2e92f0f7dff86ae7d09113407ba59ea3d35e0.tar.gz gentoo-2-d0c2e92f0f7dff86ae7d09113407ba59ea3d35e0.tar.bz2 gentoo-2-d0c2e92f0f7dff86ae7d09113407ba59ea3d35e0.zip |
Newer grub version; needs testing.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/grub/grub-0.90.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/grub/grub-0.90.ebuild b/sys-apps/grub/grub-0.90.ebuild new file mode 100644 index 000000000000..08ee66dc3d30 --- /dev/null +++ b/sys-apps/grub/grub-0.90.ebuild @@ -0,0 +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.6 2001/10/09 18:35: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" + +src_unpack() { + unpack ${A} + cd ${S} + #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 + 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 + 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 +} |