/[gentoo-x86]/sys-boot/grub/grub-9999.ebuild
Gentoo

Diff of /sys-boot/grub/grub-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.31 Revision 1.32
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.31 2011/04/03 18:10:01 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.32 2011/04/03 18:18:12 vapier Exp $
4 4
5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch 5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch
6 6
7inherit mount-boot eutils flag-o-matic toolchain-funcs 7inherit mount-boot eutils flag-o-matic toolchain-funcs
8 8
13else 13else
14 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz 14 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
15 mirror://gentoo/${P}.tar.gz" 15 mirror://gentoo/${P}.tar.gz"
16fi 16fi
17 17
18DESCRIPTION="GNU GRUB 2 boot loader" 18DESCRIPTION="GNU GRUB boot loader"
19HOMEPAGE="http://www.gnu.org/software/grub/" 19HOMEPAGE="http://www.gnu.org/software/grub/"
20 20
21LICENSE="GPL-3" 21LICENSE="GPL-3"
22use multislot && SLOT="2" || SLOT="0" 22use multislot && SLOT="2" || SLOT="0"
23KEYWORDS="" 23KEYWORDS=""
24IUSE="custom-cflags debug truetype multislot static" 24IUSE="custom-cflags debug device-mapper multislot static sdl truetype"
25 25
26RDEPEND=">=sys-libs/ncurses-5.2-r5 26RDEPEND=">=sys-libs/ncurses-5.2-r5
27 dev-libs/lzo 27 dev-libs/lzo
28 debug? (
29 sdl? ( media-libs/libsdl )
30 )
31 device-mapper? ( >=sys-fs/lvm2-2.02.45 )
28 truetype? ( media-libs/freetype >=media-fonts/unifont-5 )" 32 truetype? ( media-libs/freetype >=media-fonts/unifont-5 )"
29DEPEND="${RDEPEND} 33DEPEND="${RDEPEND}
30 >=sys-devel/autogen-5.10
31 >=dev-lang/python-2.5.2" 34 >=dev-lang/python-2.5.2"
32[[ ${PV} == "9999" ]] && DEPEND+=" sys-apps/help2man" 35[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-devel/autogen-5.10 sys-apps/help2man"
33PROVIDE="virtual/bootloader"
34 36
35export STRIP_MASK="*/grub/*/*.mod" 37export STRIP_MASK="*/grub/*/*.mod"
36QA_EXECSTACK="sbin/grub-probe sbin/grub-setup sbin/grub-mkdevicemap bin/grub-script-check bin/grub-fstest" 38QA_EXECSTACK="sbin/grub-probe sbin/grub-setup sbin/grub-mkdevicemap bin/grub-script-check bin/grub-fstest"
37 39
38src_unpack() { 40src_unpack() {
60 --disable-werror \ 62 --disable-werror \
61 --sbindir=/sbin \ 63 --sbindir=/sbin \
62 --bindir=/bin \ 64 --bindir=/bin \
63 --libdir=/$(get_libdir) \ 65 --libdir=/$(get_libdir) \
64 --disable-efiemu \ 66 --disable-efiemu \
67 $(use_enable device-mapper) \
65 $(use_enable truetype grub-mkfont) \ 68 $(use_enable truetype grub-mkfont) \
66 $(use_enable debug mm-debug) \ 69 $(use_enable debug mm-debug) \
67 $(use_enable debug grub-emu) \ 70 $(use sdl && use_enable debug grub-emu-sdl) \
68 $(use_enable debug grub-emu-usb) \ 71 $(use_enable debug grub-emu-usb)
69 $(use_enable debug grub-fstest)
70 emake -j1 || die "making regular stuff" 72 emake -j1 || die "making regular stuff"
71} 73}
72 74
73src_install() { 75src_install() {
74 emake DESTDIR="${D}" install || die 76 emake DESTDIR="${D}" install || die

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20