summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/cromwell/cromwell-2.40-r1.ebuild')
-rw-r--r--sys-boot/cromwell/cromwell-2.40-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-boot/cromwell/cromwell-2.40-r1.ebuild b/sys-boot/cromwell/cromwell-2.40-r1.ebuild
new file mode 100644
index 000000000000..06a4f31ac70b
--- /dev/null
+++ b/sys-boot/cromwell/cromwell-2.40-r1.ebuild
@@ -0,0 +1,32 @@
+# 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.40-r1.ebuild,v 1.1 2005/09/15 21:13:07 gimli Exp $
+
+inherit eutils 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_unpack() {
+ unpack ${A}
+
+ cd ${S}; epatch ${FILESDIR}/${P}-gcc-3.4.patch
+}
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_install () {
+ dodir /boot/${PN}
+ insinto /boot/${PN}
+ doins ${S}/image/cromwell.bin ${S}/image/cromwell_1024.bin ${S}/xbe/xromwell.xbe || die
+}