summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-19 03:42:44 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-19 03:42:44 +0000
commit6d29016c2cdaf9082860c3cba02855c5424bdd62 (patch)
treeb9b8955252d26c5093cd9a4ea18c67ce1bcae9ae /sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
parentlintool fixes for #9258 (diff)
downloadhistorical-6d29016c2cdaf9082860c3cba02855c5424bdd62.tar.gz
historical-6d29016c2cdaf9082860c3cba02855c5424bdd62.tar.bz2
historical-6d29016c2cdaf9082860c3cba02855c5424bdd62.zip
lintool fixes for #9258
Diffstat (limited to 'sys-apps/yaboot/yaboot-1.3.6-r1.ebuild')
-rw-r--r--sys-apps/yaboot/yaboot-1.3.6-r1.ebuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
index 52e2d8cdb0b2..9afba1eb9e2c 100644
--- a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
+++ b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild,v 1.7 2002/10/04 06:32:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild,v 1.8 2002/10/19 03:42:44 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PPC Bootloader"
@@ -11,15 +11,7 @@ RDEPEND=""
KEYWORDS="ppc -x86 -sparc -sparc64"
MAKEOPTS='PREFIX=/usr MANDIR=share/man'
SLOT="0"
-LICENSE="GPL"
-
-pkg_setup() {
- if [ ${ARCH} != "ppc" ] ; then
- eerror "Sorry, this is a PPC only package."
- die "Sorry, this as a PPC only pacakge."
- fi
-}
-
+LICENSE="GPL-2"
src_compile() {
export -n CFLAGS
@@ -27,7 +19,7 @@ src_compile() {
emake ${MAKEOPTS} || die
}
-src_install () {
+src_install() {
cp etc/yaboot.conf etc/yaboot.conf.bak
sed -e 's/\/local//' etc/yaboot.conf >| etc/yaboot.conf.edit
mv -f etc/yaboot.conf.edit etc/yaboot.conf