/[gentoo-x86]/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild
Gentoo

Contents of /sys-boot/yaboot/yaboot-1.3.12-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Sep 6 21:18:04 2007 UTC (12 years, 2 months ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Added latest version. Removed old versions and obsolete patches. Fixed nopiessp patch.
(Portage version: 2.1.3.7)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild,v 1.12 2006/04/14 17:57:53 wormo Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="PPC Bootloader"
8 SRC_URI="http://penguinppc.org/bootloaders/archived/yaboot/${P}.tar.gz"
9 HOMEPAGE="http://penguinppc.org/projects/yaboot/"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="-* ppc ppc64"
14 IUSE=""
15
16 DEPEND="sys-apps/powerpc-utils
17 sys-fs/hfsutils
18 sys-fs/hfsplusutils"
19
20 PROVIDE="virtual/bootloader"
21
22 src_compile() {
23 export -n CFLAGS
24 export -n CXXFLAGS
25 [ -n "$(tc-getCC)" ] || CC="gcc"
26 # dual boot patch
27 epatch ${FILESDIR}/yabootconfig-${PV}.patch
28 epatch ${FILESDIR}/chrpfix.patch
29 epatch ${FILESDIR}/yaboot-3.4.patch
30 epatch ${FILESDIR}/yaboot-1.3.12-k2sata-ofpath.patch
31 emake PREFIX=/usr MANDIR=share/man CC="$(tc-getCC)" || die
32 }
33
34 src_install() {
35 cp etc/yaboot.conf etc/yaboot.conf.bak
36 sed -e 's/\/local//' etc/yaboot.conf >| etc/yaboot.conf.edit
37 mv -f etc/yaboot.conf.edit etc/yaboot.conf
38 make ROOT=${D} PREFIX=/usr MANDIR=share/man install || die
39 }
40
41 pkg_postinst() {
42 ewarn "Please note if you are running a 2.6 kernel the version"
43 ewarn "of ofpath included in this revision of yaboot requires"
44 ewarn "that you run a kernel >= 2.6.3 Prior versions are unsupported."
45 }

  ViewVC Help
Powered by ViewVC 1.1.20