summaryrefslogtreecommitdiff
blob: 41ef172cc0c5cd963267526d6318d14077eb1a97 (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
25
26
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/cromwell/cromwell-2.31.ebuild,v 1.3 2005/04/28 18:48:46 wormo Exp $

inherit mount-boot

IUSE=""
DESCRIPTION="Xbox boot loader"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="http://www.xbox-linux.org"
RESTRICT="${RESTRICT} nostrip"
DEPEND=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-* x86"
PROVIDE="virtual/bootloader"

src_compile() {
	emake -j1 || die
}

src_install () {
	dodir /boot/${PN}
	insinto /boot/${PN}
	doins ${S}/image/image.bin ${S}/image/image_1024.bin ${S}/xbe/default.xbe || die
}