summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-21 22:46:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-21 22:46:44 +0000
commitf61c072f8e1fef790cad060858eb1636c62462c0 (patch)
treedc5f5cd845f407b616722f7c3db43cd12d0b2edf /sys-boot/grub/grub-1.95.ebuild
parentold (diff)
downloadgentoo-2-f61c072f8e1fef790cad060858eb1636c62462c0.tar.gz
gentoo-2-f61c072f8e1fef790cad060858eb1636c62462c0.tar.bz2
gentoo-2-f61c072f8e1fef790cad060858eb1636c62462c0.zip
Version bump #152232 by Arthur Koziel.
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'sys-boot/grub/grub-1.95.ebuild')
-rw-r--r--sys-boot/grub/grub-1.95.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-boot/grub/grub-1.95.ebuild b/sys-boot/grub/grub-1.95.ebuild
new file mode 100644
index 000000000000..3bec7fdfe868
--- /dev/null
+++ b/sys-boot/grub/grub-1.95.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-1.95.ebuild,v 1.1 2006/10/21 22:46:44 vapier Exp $
+
+inherit mount-boot eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="GNU GRUB 2 boot loader"
+HOMEPAGE="http://www.gnu.org/software/grub/"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="-*"
+IUSE="static netboot custom-cflags"
+
+DEPEND=">=sys-libs/ncurses-5.2-r5
+ dev-libs/lzo"
+PROVIDE="virtual/bootloader"
+
+src_compile() {
+ use amd64 && multilib_toolchain_setup x86
+ use custom-cflags || unset CFLAGS LDFLAGS
+ use static && append-ldflags -static
+
+ econf \
+ --prefix=/ \
+ --datadir=/usr/lib \
+ || die "econf failed"
+ emake || die "making regular stuff"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}