diff options
author | Grant Goodyear <grant@gentoo.org> | 2001-06-03 22:02:42 +0000 |
---|---|---|
committer | Grant Goodyear <grant@gentoo.org> | 2001-06-03 22:02:42 +0000 |
commit | 371d3613d12cef993d4f310bc0eadd13cce7888b (patch) | |
tree | 0539fcda70e245b39c1c7c2ccbde7f58447fcb44 /sys-apps/sysvinit | |
parent | Created digest. (diff) | |
download | gentoo-2-371d3613d12cef993d4f310bc0eadd13cce7888b.tar.gz gentoo-2-371d3613d12cef993d4f310bc0eadd13cce7888b.tar.bz2 gentoo-2-371d3613d12cef993d4f310bc0eadd13cce7888b.zip |
Added telinit symlink.
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r-- | sys-apps/sysvinit/sysvinit-2.78-r3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.78-r3.ebuild b/sys-apps/sysvinit/sysvinit-2.78-r3.ebuild new file mode 100644 index 000000000000..b9f4e6b2b290 --- /dev/null +++ b/sys-apps/sysvinit/sysvinit-2.78-r3.ebuild @@ -0,0 +1,47 @@ +# 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-r3.ebuild,v 1.1 2001/06/03 22:02:42 grant 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 + into /usr + cd ../man + doman *.[1-9] + + cd .. + dodoc README doc/* contrib/start-stop-daemon.README + +} + + |