diff options
author | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
commit | a6c32cb8e7a55b1760726e28e7805a225e9bae8c (patch) | |
tree | 7289448a882b6cc8bf5bab9c7f9f93cc9a63bc60 /sys-apps/sysvinit | |
parent | web updates (diff) | |
download | historical-a6c32cb8e7a55b1760726e28e7805a225e9bae8c.tar.gz historical-a6c32cb8e7a55b1760726e28e7805a225e9bae8c.tar.bz2 historical-a6c32cb8e7a55b1760726e28e7805a225e9bae8c.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r-- | sys-apps/sysvinit/files/digest-sysvinit-2.78-r4 | 1 | ||||
-rw-r--r-- | sys-apps/sysvinit/sysvinit-2.78-r4.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/files/digest-sysvinit-2.78-r4 b/sys-apps/sysvinit/files/digest-sysvinit-2.78-r4 new file mode 100644 index 000000000000..762e3231d98c --- /dev/null +++ b/sys-apps/sysvinit/files/digest-sysvinit-2.78-r4 @@ -0,0 +1 @@ +MD5 cf40920a0423b05479504d79c0bd70ea sysvinit-2.78.tar.gz diff --git a/sys-apps/sysvinit/sysvinit-2.78-r4.ebuild b/sys-apps/sysvinit/sysvinit-2.78-r4.ebuild new file mode 100644 index 000000000000..99fa516dcd7e --- /dev/null +++ b/sys-apps/sysvinit/sysvinit-2.78-r4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel robbins <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.78-r4.ebuild,v 1.1 2001/08/04 18:22:45 pete Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P}/src +DESCRIPTION="System initialization stuff" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/init/${A}" +DEPEND="virtual/glibc" + +src_unpack() { + + unpack ${A} + cd ${S} + mv Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile +} + +src_compile() { + + try pmake LDFLAGS="" + cd ../contrib + try gcc ${CFLAGS} start-stop-daemon.c -o start-stop-daemon +} + + +src_install() { + + into / + dosbin halt init killall5 runlevel shutdown sulogin + dosym init /sbin/telinit + dobin last mesg utmpdump wall + dosym killall5 /sbin/pidof + dosym halt /sbin/reboot + cd ../contrib + dosbin start-stop-daemon + if [ -z "`use bootcd`" ] + then + into /usr + cd ../man + doman *.[1-9] + cd .. + dodoc README doc/* contrib/start-stop-daemon.README + else + rm -rf ${D}/usr/share + fi + +} |