summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-boot/aboot/aboot-0.9-r1.ebuild24
1 files changed, 9 insertions, 15 deletions
diff --git a/sys-boot/aboot/aboot-0.9-r1.ebuild b/sys-boot/aboot/aboot-0.9-r1.ebuild
index c30bd0f75346..bd55923c214d 100644
--- a/sys-boot/aboot/aboot-0.9-r1.ebuild
+++ b/sys-boot/aboot/aboot-0.9-r1.ebuild
@@ -1,28 +1,23 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/aboot/aboot-0.9-r1.ebuild,v 1.1 2003/12/09 08:11:32 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/aboot/aboot-0.9-r1.ebuild,v 1.2 2004/04/02 01:28:49 vapier Exp $
-S=${WORKDIR}/${P}
-DESCRIPTION="Alpha Linux boot loader for srm"
-SRC_URI="http://aboot.sourceforge.net/tarballs/aboot-0.9bpre.tar.bz2"
+DESCRIPTION="Alpha Linux boot loader for SRM"
HOMEPAGE="http://aboot.sourceforge.net/"
+SRC_URI="http://aboot.sourceforge.net/tarballs/aboot-0.9bpre.tar.bz2"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="alpha -x86 -amd64 -ppc -sparc -mips"
+SLOT="0"
+KEYWORDS="-* alpha"
DEPEND="virtual/glibc"
-
PROVIDE="virtual/bootloader"
src_unpack() {
unpack ${A}
-
mv ${WORKDIR}/aboot-0.9bpre ${WORKDIR}/${P}
-
cd ${S}
- cp Makefile Makefile.orig
- sed -e "s:/usr/man:/usr/share/man:" Makefile.orig > Makefile
+ sed -i "s:/usr/man:/usr/share/man:" Makefile || die
}
src_compile() {
@@ -30,7 +25,7 @@ src_compile() {
}
src_install() {
- dodir /{boot,sbin,usr/share/man/man5}
+ dodir /boot /sbin /usr/share/man/man5
make \
root=${D} \
bindir=${D}/sbin \
@@ -38,9 +33,8 @@ src_install() {
mandir=${D}/usr/share/man \
install
- dodoc COPYING ChangeLog INSTALL README TODO aboot.conf
+ dodoc ChangeLog INSTALL README TODO aboot.conf
- dodir /etc
insinto /etc
newins ${FILESDIR}/aboot.conf aboot.conf.example
}