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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Dec 30 00:12:52 2008 UTC (5 years, 6 months ago) by vapier
Branch: MAIN
Add a live svn ebuild by roger #252769.  This also fixes stripping issues #231935 by Alexey Shvetsov.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-1.96.ebuild,v 1.5 2008/11/10 14:34:42 vapier Exp $
4
5 inherit mount-boot eutils flag-o-matic toolchain-funcs
6
7 if [[ ${PV} == "9999" ]] ; then
8 ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2"
9 inherit subversion
10 fi
11
12 DESCRIPTION="GNU GRUB 2 boot loader"
13 HOMEPAGE="http://www.gnu.org/software/grub/"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="static custom-cflags"
19
20 DEPEND=">=sys-libs/ncurses-5.2-r5
21 dev-libs/lzo"
22 PROVIDE="virtual/bootloader"
23
24 STRIP_MASK="/lib*/grub/*/*.mod"
25
26 src_compile() {
27 use amd64 && multilib_toolchain_setup x86
28 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
29 use static && append-ldflags -static
30
31 econf \
32 --prefix=/ \
33 --datadir=/usr/lib \
34 || die "econf failed"
35 emake -j1 || die "making regular stuff"
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install || die
40 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
41 }
42
43 pkg_postinst() {
44 elog "To automatically generate a grub configuration file:"
45 elog "# /sbin/grub-mkconfig -o /boot/grub/grub.cfg"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20