summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-10-22 19:34:17 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-10-22 19:34:17 +0000
commita720cd10abd85620e21cd3b9fc224304d52121af (patch)
tree1b007d06a707a7297c4421556f6f734237bb3dde /sys-apps/lilo
parentblah (diff)
downloadhistorical-a720cd10abd85620e21cd3b9fc224304d52121af.tar.gz
historical-a720cd10abd85620e21cd3b9fc224304d52121af.tar.bz2
historical-a720cd10abd85620e21cd3b9fc224304d52121af.zip
blah need to have one unmasked version, please
Diffstat (limited to 'sys-apps/lilo')
-rw-r--r--sys-apps/lilo/files/digest-lilo-22.1-r31
-rw-r--r--sys-apps/lilo/lilo-22.1-r3.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/sys-apps/lilo/files/digest-lilo-22.1-r3 b/sys-apps/lilo/files/digest-lilo-22.1-r3
new file mode 100644
index 000000000000..cec554c6e99d
--- /dev/null
+++ b/sys-apps/lilo/files/digest-lilo-22.1-r3
@@ -0,0 +1 @@
+MD5 ba6830b939e6eeaadf450c68c96a42fb lilo-22.1.tar.gz 319754
diff --git a/sys-apps/lilo/lilo-22.1-r3.ebuild b/sys-apps/lilo/lilo-22.1-r3.ebuild
new file mode 100644
index 000000000000..3c033f4243d5
--- /dev/null
+++ b/sys-apps/lilo/lilo-22.1-r3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.1-r3.ebuild,v 1.12 2002/10/22 19:34:17 lostlogic Exp $
+
+inherit mount-boot
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard Linux boot loader"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/${P}.tar.gz"
+HOMEPAGE="http://brun.dyndns.org/pub/linux/lilo/"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+SLOT="0"
+LICENSE="BSD"
+DEPEND="virtual/glibc >=sys-devel/bin86-0.15.5"
+
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-g:${CFLAGS}:" Makefile.orig > Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ into /
+ dosbin lilo
+ into /usr
+ dosbin keytab-lilo.pl
+ dodir /boot
+ insinto /boot
+ doins boot-text.b boot-menu.b boot-bmp.b chain.b os2_d.b
+ insinto /etc
+ newins ${FILESDIR}/lilo.conf lilo.conf.example
+ doman manPages/*.[5-8]
+ dodoc CHANGES COPYING INCOMPAT QuickInst README*
+}
+
+pkg_preinst() {
+ if [ ! -L $ROOT/boot/boot.b -a -f $ROOT/boot/boot.b ]
+ then
+ echo "Saving old boot.b..."
+ mv $ROOT/boot/boot.b $ROOT/boot/boot.old;
+ fi
+
+ if [ ! -L $ROOT/boot/chain.b -a -f $ROOT/boot/chain.b ]
+ then
+ echo "Saving old chain.b..."
+ mv $ROOT/boot/chain.b $ROOT/boot/chain.old;
+ fi
+
+ if [ ! -L $ROOT/boot/os2_d.b -a -f $ROOT/boot/os2_d.b ]
+ then
+ echo "Saving old os2_d.b..."
+ mv $ROOT/boot/os2_d.b $ROOT/boot/os2_d.old;
+ fi
+}
+
+pkg_postinst() {
+
+ . ${ROOT}/etc/init.d/functions.sh
+
+ einfo "Activating boot-menu..."
+ ln -sf boot-menu.b $ROOT/boot/boot.b;
+}
+
+