summaryrefslogtreecommitdiff
blob: ad08e841b881357b71f6308a2acde529f98e225e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id: yaboot-1.3.6.ebuild,v 1.3 2002/07/14 19:20:20 aliz Exp $

S=${WORKDIR}/${P}
DESCRIPTION="PPC Bootloader"
SRC_URI="http://penguinppc.org/projects/yaboot/${P}.tar.gz"
HOMEPAGE="http://penguinppc.org/projects/yaboot/"
KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"
DEPEND="sys-apps/powerpc-utils sys-apps/hfsutils"

MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'

src_compile() {
	export -n CFLAGS
	export -n CXXFLAGS
	emake ${MAKEOPTS} || die
}

src_install () {
	make ROOT=${D} ${MAKEOPTS} install || die
}