/[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.74 Revision 1.75
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.74 2012/06/29 22:06:15 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.75 2012/07/01 21:31:16 floppym Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" 8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/"
17 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz 17 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
18 mirror://gentoo/${MY_P}.tar.xz" 18 mirror://gentoo/${MY_P}.tar.xz"
19 fi 19 fi
20 KEYWORDS="~amd64 ~x86" 20 KEYWORDS="~amd64 ~x86"
21 S=${WORKDIR}/${MY_P} 21 S=${WORKDIR}/${MY_P}
22 DO_AUTORECONF="true"
22fi 23fi
23 24
24inherit eutils flag-o-matic pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} 25inherit eutils flag-o-matic pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS}
25unset LIVE_ECLASS 26unset LIVE_ECLASS
26 27
68" 69"
69DEPEND="${RDEPEND} 70DEPEND="${RDEPEND}
70 >=dev-lang/python-2.5.2 71 >=dev-lang/python-2.5.2
71 sys-devel/flex 72 sys-devel/flex
72 sys-devel/bison 73 sys-devel/bison
74 sys-apps/help2man
73 sys-apps/texinfo 75 sys-apps/texinfo
74 static? ( 76 static? (
75 truetype? ( 77 truetype? (
76 app-arch/bzip2[static-libs(+)] 78 app-arch/bzip2[static-libs(+)]
77 media-libs/freetype[static-libs(+)] 79 media-libs/freetype[static-libs(+)]
82RDEPEND+=" 84RDEPEND+="
83 grub_platforms_efi-32? ( sys-boot/efibootmgr ) 85 grub_platforms_efi-32? ( sys-boot/efibootmgr )
84 grub_platforms_efi-64? ( sys-boot/efibootmgr ) 86 grub_platforms_efi-64? ( sys-boot/efibootmgr )
85" 87"
86if [[ -n ${DO_AUTORECONF} ]] ; then 88if [[ -n ${DO_AUTORECONF} ]] ; then
87 DEPEND+=" >=sys-devel/autogen-5.10 sys-apps/help2man" 89 DEPEND+=" >=sys-devel/autogen-5.10"
88else 90else
89 DEPEND+=" app-arch/xz-utils" 91 DEPEND+=" app-arch/xz-utils"
90fi 92fi
91 93
92export STRIP_MASK="*/grub/*/*.{mod,img}" 94export STRIP_MASK="*/grub/*/*.{mod,img}"
205} 207}
206 208
207src_prepare() { 209src_prepare() {
208 local i j 210 local i j
209 211
212 epatch "${FILESDIR}/${P}-manpage-race.patch"
213
210 # fix texinfo file name, bug 416035 214 # fix texinfo file name, bug 416035
211 sed -i \ 215 sed -i \
212 -e 's/^\* GRUB:/* GRUB2:/' \ 216 -e 's/^\* GRUB:/* GRUB2:/' \
213 -e 's/(grub)/(grub2)/' -- \ 217 -e 's/(grub)/(grub2)/' -- \
214 "${S}"/docs/grub.texi 218 "${S}"/docs/grub.texi

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

  ViewVC Help
Powered by ViewVC 1.1.20