diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-12-07 19:55:39 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-12-07 19:55:39 +0000 |
commit | 16e0d281d338a0347986936968153026473eff3e (patch) | |
tree | b9d6b89ce8c8144d96baf6d430310b9ba80781a9 /sys-apps/lilo | |
parent | new version (diff) | |
download | gentoo-2-16e0d281d338a0347986936968153026473eff3e.tar.gz gentoo-2-16e0d281d338a0347986936968153026473eff3e.tar.bz2 gentoo-2-16e0d281d338a0347986936968153026473eff3e.zip |
New version. Needed to coexist w/ the 2.4.16 linux headers.
Diffstat (limited to 'sys-apps/lilo')
-rw-r--r-- | sys-apps/lilo/files/digest-lilo-22.1 | 1 | ||||
-rw-r--r-- | sys-apps/lilo/lilo-22.1.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-apps/lilo/files/digest-lilo-22.1 b/sys-apps/lilo/files/digest-lilo-22.1 new file mode 100644 index 000000000000..3e77d5080f89 --- /dev/null +++ b/sys-apps/lilo/files/digest-lilo-22.1 @@ -0,0 +1 @@ +MD5 ba6830b939e6eeaadf450c68c96a42fb lilo-22.1.tar.gz 323584 diff --git a/sys-apps/lilo/lilo-22.1.ebuild b/sys-apps/lilo/lilo-22.1.ebuild new file mode 100644 index 000000000000..11bf73ad3d5a --- /dev/null +++ b/sys-apps/lilo/lilo-22.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.1.ebuild,v 1.1 2001/12/07 19:55:39 g2boojum Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Standard Linux boot loader" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/${P}.tar.gz" + +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() { + + try pmake +} + +src_install() { + + into / + dosbin lilo + into /usr + dosbin keytab-lilo.pl + dodir /boot + insinto /boot + doins boot-text.b boot-menu.b chain.b os2_d.b + doman manPages/*.[5-8] + dodoc CHANGES COPYING INCOMPAT QuickInst README* +} + +pkg_preinst() { + + . ${ROOT}/etc/rc.d/config/functions + + if [ ! -L $ROOT/boot/boot.b -a -f $ROOT/boot/boot.b ] + then + einfo "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 + einfo "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 + einfo "Saving old os2_d.b..." + mv $ROOT/boot/os2_d.b $ROOT/boot/os2_d.old; + fi +} + +pkg_postinst() { + + . ${ROOT}/etc/rc.d/config/functions + + einfo "Activating boot-menu..." + ln -sf boot-menu.b $ROOT/boot/boot.b; + +} + + |