/[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.13 Revision 1.14
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.13 2009/10/14 00:06:34 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.14 2009/10/26 23:05:53 vapier Exp $
4 4
5inherit autotools mount-boot eutils flag-o-matic toolchain-funcs 5inherit autotools mount-boot eutils flag-o-matic toolchain-funcs
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2" 8 ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2"
26DEPEND="${RDEPEND} 26DEPEND="${RDEPEND}
27 dev-lang/ruby" 27 dev-lang/ruby"
28PROVIDE="virtual/bootloader" 28PROVIDE="virtual/bootloader"
29 29
30export STRIP_MASK="*/grub/*/*.mod" 30export STRIP_MASK="*/grub/*/*.mod"
31QA_EXECSTACK="sbin/grub-probe sbin/grub-setup" 31QA_EXECSTACK="sbin/grub-probe sbin/grub-setup sbin/grub-mkdevicemap"
32 32
33src_unpack() { 33src_unpack() {
34 if [[ ${PV} == "9999" ]] ; then 34 if [[ ${PV} == "9999" ]] ; then
35 subversion_src_unpack 35 subversion_src_unpack
36 else 36 else
52 --disable-werror \ 52 --disable-werror \
53 --sbindir=/sbin \ 53 --sbindir=/sbin \
54 --bindir=/bin \ 54 --bindir=/bin \
55 --libdir=/$(get_libdir) \ 55 --libdir=/$(get_libdir) \
56 --disable-efiemu \ 56 --disable-efiemu \
57 --disable-grub-pe2elf \
58 --enable-grub-mkfont \ 57 --enable-grub-mkfont \
59 $(use_enable debug mm-debug) \ 58 $(use_enable debug mm-debug) \
60 $(use_enable debug grub-emu) \ 59 $(use_enable debug grub-emu) \
61 $(use_enable debug grub-emu-usb) \ 60 $(use_enable debug grub-emu-usb) \
62 $(use_enable debug grub-fstest) 61 $(use_enable debug grub-fstest)
68 dodoc AUTHORS ChangeLog NEWS README THANKS TODO 67 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
69 cat <<-EOF >> "${D}"/lib*/grub/grub-mkconfig_lib 68 cat <<-EOF >> "${D}"/lib*/grub/grub-mkconfig_lib
70 GRUB_DISTRIBUTOR="Gentoo" 69 GRUB_DISTRIBUTOR="Gentoo"
71 EOF 70 EOF
72 if use multislot ; then 71 if use multislot ; then
73 sed -i s:grub-install:grub2-install: "${D}"/sbin/grub-install 72 sed -i "s:grub-install:grub2-install:" "${D}"/sbin/grub-install || die
74 mv "${D}"/sbin/grub{,2}-install || die 73 mv "${D}"/sbin/grub{,2}-install || die
75 mv "${D}"/usr/share/man/man8/grub{,2}-install.8 || die
76 mv "${D}"/usr/share/info/grub{,2}.info || die 74 mv "${D}"/usr/share/info/grub{,2}.info || die
77 fi 75 fi
78} 76}
79 77
80setup_boot_dir() { 78setup_boot_dir() {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20