# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: sys-boot/grub-9999 cyrillic $ EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub" EBZR_BOOTSTRAP="autogen.sh" inherit bzr flag-o-matic # Grub will do its own stripping (broken binaries otherwise) RESTRICT="strip" DESCRIPTION="GNU GRUB 2 boot loader" HOMEPAGE="http://www.gnu.org/software/grub/" EAPI=3 LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" IUSE="fbcon nls" DEPEND="dev-lang/ruby fbcon? ( media-fonts/unifont media-libs/freetype:2 )" RDEPEND="ppc? ( >=sys-apps/powerpc-utils-1.2 )" PROVIDE="virtual/bootloader" src_configure() { unset CFLAGS CXXFLAGS LDFLAGS econf \ --disable-werror \ $(use_enable fbcon grub-mkfont) \ $(use_enable nls) \ || die } src_install() { emake DESTDIR=${D} install dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO }