diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-31 20:12:23 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-31 20:12:23 +0000 |
commit | 14509ed67734af7de8a7f18bbf6d9f308b6eee3e (patch) | |
tree | 3e13f56554d769d8c1e0aa4c4b907a8bdb4a5a29 /sys-apps | |
parent | Cabextract is an unpacker for .CAB and cabinet .EXE files (diff) | |
download | gentoo-2-14509ed67734af7de8a7f18bbf6d9f308b6eee3e.tar.gz gentoo-2-14509ed67734af7de8a7f18bbf6d9f308b6eee3e.tar.bz2 gentoo-2-14509ed67734af7de8a7f18bbf6d9f308b6eee3e.zip |
Newer version using Redhat's 7.2 patches.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/grub/files/digest-grub-0.90-r2 | 2 | ||||
-rw-r--r-- | sys-apps/grub/grub-0.90-r2.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/grub/files/digest-grub-0.90-r2 b/sys-apps/grub/files/digest-grub-0.90-r2 new file mode 100644 index 000000000000..c5062f71608e --- /dev/null +++ b/sys-apps/grub/files/digest-grub-0.90-r2 @@ -0,0 +1,2 @@ +MD5 e435d871e5d06b3106342d880380605e grub-0.90.tar.gz 745472 +MD5 31a7f929237e26ba3fa44353202dc613 grub_0.90-12.diff.gz 77824 diff --git a/sys-apps/grub/grub-0.90-r2.ebuild b/sys-apps/grub/grub-0.90-r2.ebuild new file mode 100644 index 000000000000..3e088a79f605 --- /dev/null +++ b/sys-apps/grub/grub-0.90-r2.ebuild @@ -0,0 +1,48 @@ +# 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-r2.ebuild,v 1.1 2001/10/31 20:12:23 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} + for patchname in `ls ${FILESDIR}/${P}-r2/*.patch` + do + echo patch: ${patchname} + patch -p1 < ${patchname} || die + done +} + +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 + dosym /boot/grub/menu.lst /boot/grub/grub.conf + cd ${S} + dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO + else + rm -rf ${D}/usr/share/{man,info,doc} + fi +} |