# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot-static/yaboot-static-1.3.14_pre1.ebuild,v 1.2 2007/06/04 19:42:39 ranger Exp $ inherit eutils DESCRIPTION="Static yaboot ppc boot loader for machines with open firmware" HOMEPAGE="http://penguinppc.org/projects/yaboot/" SRC_URI="mirror://gentoo/yaboot-static-${PV}.tbz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~ppc64" IUSE="ibm" DEPEND="!sys-boot/yaboot sys-apps/powerpc-utils" RDEPEND="!ibm? ( sys-fs/hfsutils ) !ibm? ( sys-fs/hfsplusutils )" PROVIDE="virtual/bootloader" src_unpack() { unpack ${A} } src_install() { # don't blow away the user's old conf file mv ${WORKDIR}/etc/yaboot.conf ${WORKDIR}/etc/yaboot.conf.unconfigured cp -pPR ${WORKDIR}/* ${D}/ }