summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2011-08-23 00:36:14 +0000
committerMatt Turner <mattst88@gentoo.org>2011-08-23 00:36:14 +0000
commitd873e473b4b15432be35c7a76d7f936aac3b28d2 (patch)
tree0ac03852d96e162a0ac72a6e11eacab971fe4f68 /sys-boot/arcload
parentAdd iwl6030-ucode to blockers. (diff)
downloadgentoo-2-d873e473b4b15432be35c7a76d7f936aac3b28d2.tar.gz
gentoo-2-d873e473b4b15432be35c7a76d7f936aac3b28d2.tar.bz2
gentoo-2-d873e473b4b15432be35c7a76d7f936aac3b28d2.zip
Drop old 0.43. Bump 0.50 to EAPI=4 and clean up.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/arcload')
-rw-r--r--sys-boot/arcload/ChangeLog6
-rw-r--r--sys-boot/arcload/arcload-0.43-r1.ebuild77
-rw-r--r--sys-boot/arcload/arcload-0.50-r1.ebuild29
-rw-r--r--sys-boot/arcload/files/arcload-0.43-tweaks1.patch20
-rw-r--r--sys-boot/arcload/metadata.xml5
5 files changed, 14 insertions, 123 deletions
diff --git a/sys-boot/arcload/ChangeLog b/sys-boot/arcload/ChangeLog
index 195248483b07..ab2f7d9fee02 100644
--- a/sys-boot/arcload/ChangeLog
+++ b/sys-boot/arcload/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-boot/arcload
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/ChangeLog,v 1.13 2011/04/10 14:13:49 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/ChangeLog,v 1.14 2011/08/23 00:36:13 mattst88 Exp $
+
+ 23 Aug 2011; Matt Turner <mattst88@gentoo.org> -arcload-0.43-r1.ebuild,
+ -files/arcload-0.43-tweaks1.patch, arcload-0.50-r1.ebuild, metadata.xml:
+ Drop old 0.43. Bump 0.50 to EAPI=4 and clean up.
10 Apr 2011; Ulrich Mueller <ulm@gentoo.org> arcload-0.43-r1.ebuild,
arcload-0.50-r1.ebuild:
diff --git a/sys-boot/arcload/arcload-0.43-r1.ebuild b/sys-boot/arcload/arcload-0.43-r1.ebuild
deleted file mode 100644
index 45f630194908..000000000000
--- a/sys-boot/arcload/arcload-0.43-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/arcload-0.43-r1.ebuild,v 1.7 2011/04/10 14:13:49 ulm Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="ARCLoad - SGI Multi-bootloader. Able to bootload many different SGI Systems."
-HOMEPAGE="http://www.linux-mips.org/wiki/index.php/ARCLoad"
-SRC_URI="ftp://ftp.linux-mips.org/pub/linux/mips/people/skylark/${P}.tar.bz2"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-* ~mips"
-IUSE=""
-DEPEND="sys-boot/dvhtool"
-RDEPEND=""
-RESTRICT="strip"
-
-pkg_setup() {
- # See if we're on a cobalt system
- if [ "${PROFILE_ARCH}" = "cobalt" ]; then
- echo -e ""
- eerror "This package is only intended for SGI systems. It will not work on any"
- eerror "other types of MIPS-based systems or any other architectures"
- echo -e ""
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- # Adds in detection support for the R14000, and
- # tweaks detectbaud() in loader/detect.c to return
- # a default of 9600bps when the function fails
- epatch "${FILESDIR}"/${P}-tweaks1.patch
-}
-
-src_compile() {
- echo -e ""
- einfo ">>> Building 32-bit version (sashARCS) for IP22/IP32 ..."
- cd "${S}"
- make MODE=M32 clean || die
- make CC=$(tc-getCC) LD=$(tc-getLD) MODE=M32 || die
- cp "${S}"/arcload.ecoff "${WORKDIR}"/sashARCS
-
- echo -e ""
- einfo ">>> Building 64-bit version (sash64) for IP27/IP28/IP30 ..."
- make MODE=M64 clean || die
- make CC=$(tc-getCC) LD=$(tc-getLD) MODE=M64 || die
- cp $"{S}"/arcload "${WORKDIR}"/sash64
-}
-
-src_install() {
- dodir /usr/lib/arcload
- cp "${WORKDIR}"/sashARCS "${D}"/usr/lib/arcload
- cp "${WORKDIR}"/sash64 "${D}"/usr/lib/arcload
- cp "${S}"/arc.cf-bootcd "${D}"/usr/lib/arcload/arc-bootcd.cf
- cp "${S}"/arc.cf-octane "${D}"/usr/lib/arcload/arc-octane.cf
-}
-
-pkg_postinst() {
- echo -e ""
- einfo "ARCLoad binaries copied to: /usr/lib/arcload"
- echo -e ""
- einfo "Use of ARCLoad is relatively easy:"
- einfo "\t1) Determine which version you need"
- einfo "\t\tA) sashARCS for IP22/IP32"
- einfo "\t\tB) sash64 for IP27/IP28/IP30"
- einfo "\t2) Copy that to the volume header using 'dvhtool'"
- einfo "\t3) Edit /usr/lib/arcload/arc-*.cf to fit your specific system"
- einfo "\t (See ${HOMEPAGE} for"
- einfo "\t an explanation of the format of the config file)"
- einfo "\t4) Copy the config file to the volume header with 'dvhtool' (make sure it is copied as 'arc.cf')"
- einfo "\t5) Copy any kernels to the volume header that you want to be bootable"
- einfo "\t6) Reboot, and enjoy!"
- echo -e ""
-}
diff --git a/sys-boot/arcload/arcload-0.50-r1.ebuild b/sys-boot/arcload/arcload-0.50-r1.ebuild
index 9fd022355de0..08126b84ee1f 100644
--- a/sys-boot/arcload/arcload-0.50-r1.ebuild
+++ b/sys-boot/arcload/arcload-0.50-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/arcload-0.50-r1.ebuild,v 1.3 2011/04/10 14:13:49 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/arcload-0.50-r1.ebuild,v 1.4 2011/08/23 00:36:13 mattst88 Exp $
+
+EAPI=4
inherit eutils toolchain-funcs versionator
@@ -20,20 +22,7 @@ RESTRICT="strip"
S="${WORKDIR}/${PN}-${MY_PV}"
-pkg_setup() {
- # See if we're on a cobalt system
- if [ "${PROFILE_ARCH}" = "cobalt" ]; then
- echo -e ""
- eerror "This package is only intended for SGI systems. It will not work on any"
- eerror "other types of MIPS-based systems or any other architectures"
- echo -e ""
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
# For gcc-4.x, quiet down some of the warnings
$(version_is_at_least "4.0" "$(gcc-version)") && \
epatch "${FILESDIR}"/${P}-shut-gcc4x-up.patch
@@ -50,21 +39,21 @@ src_compile() {
# on the offchance that we're cross-compiling.
echo -e ""
einfo ">>> Building the 'wreckoff' utility with $(tc-getBUILD_CC) ..."
- make CC=$(tc-getBUILD_CC) tools_clean tools || die
+ emake CC=$(tc-getBUILD_CC) tools_clean tools
# 32bit copy (sashARCS for IP22/IP32)
echo -e ""
einfo ">>> Building 32-bit version (sashARCS) for IP22/IP32 ..."
cd "${S}"
- make MODE=M32 bootloader_clean || die
- make CC=$(tc-getCC) LD=$(tc-getLD) MODE=M32 bootloader || die
+ emake MODE=M32 bootloader_clean
+ emake CC=$(tc-getCC) LD=$(tc-getLD) MODE=M32 bootloader
cp "${S}"/arcload.ecoff "${WORKDIR}"/sashARCS
# 64bit copy (sash64 for IP27/IP28/IP30)
echo -e ""
einfo ">>> Building 64-bit version (sash64) for IP27/IP28/IP30 ..."
- make MODE=M64 bootloader_clean || die
- make CC=$(tc-getCC) LD=$(tc-getLD) MODE=M64 bootloader || die
+ emake MODE=M64 bootloader_clean
+ emake CC=$(tc-getCC) LD=$(tc-getLD) MODE=M64 bootloader
cp "${S}"/arcload "${WORKDIR}"/sash64
}
diff --git a/sys-boot/arcload/files/arcload-0.43-tweaks1.patch b/sys-boot/arcload/files/arcload-0.43-tweaks1.patch
deleted file mode 100644
index 143cbb151312..000000000000
--- a/sys-boot/arcload/files/arcload-0.43-tweaks1.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naurp arcload-0.43.orig/loader/detect.c arcload-0.43/loader/detect.c
---- arcload-0.43.orig/loader/detect.c 2005-09-05 13:32:44 -0400
-+++ arcload-0.43/loader/detect.c 2005-10-14 00:36:46 -0400
-@@ -30,6 +30,7 @@ static struct {
- {0x0004, "r4000"},
- {0x0009, "r10000"},
- {0x000e, "r12000"},
-+ {0x000f, "r14000"},
- {0x0020, "r4600"},
- {0x0021, "r4700"},
- {0x0023, "r5000"},
-@@ -194,7 +195,7 @@ static char *detectbaud(void)
- if(var && var[0]=='d') {
- var=ArcGetEnvironmentVariable("dbaud");
- if(!var)
-- return NULL;
-+ return "baud=9600";
- sprintf(baudrate,"baud=%s",var);
- return baudrate;
- }
diff --git a/sys-boot/arcload/metadata.xml b/sys-boot/arcload/metadata.xml
index d8fbe78088c7..776ed4fa58a6 100644
--- a/sys-boot/arcload/metadata.xml
+++ b/sys-boot/arcload/metadata.xml
@@ -2,11 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>mips</herd>
- <maintainer>
- <email>mips@gentoo.org</email>
- <name>Mips Team</name>
- </maintainer>
-
<longdescription>
ARCLoad - SGI Multi-bootloader. Able to bootload many different SGI Systems.
</longdescription>