# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/cromwell-2.40-r3.ebuild,v 1.1 2008/06/07 15:27:08 vapier Exp $ inherit eutils mount-boot DESCRIPTION="Xbox boot loader" HOMEPAGE="http://www.xbox-linux.org/wiki/Cromwell" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* ~x86" IUSE="" RESTRICT="strip" DEPEND="" PROVIDE="virtual/bootloader" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-r3-cvs-fixes.patch } src_compile() { emake -j1 || die } src_install() { insinto /boot/${PN} doins image/cromwell{,_1024}.bin xbe/xromwell.xbe || die }