summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-02-10 09:58:08 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-02-10 09:58:08 +0000
commitaf0da4298d163480ab47cf8934ad560d4e720740 (patch)
tree25bcf23184e980a1c438abba362fa60fb112bb45 /sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
parentsed expression fixes (diff)
downloadgentoo-2-af0da4298d163480ab47cf8934ad560d4e720740.tar.gz
gentoo-2-af0da4298d163480ab47cf8934ad560d4e720740.tar.bz2
gentoo-2-af0da4298d163480ab47cf8934ad560d4e720740.zip
sed expression fixups, filesdir cleanups
Diffstat (limited to 'sys-apps/sysvinit/sysvinit-2.83-r1.ebuild')
-rw-r--r--sys-apps/sysvinit/sysvinit-2.83-r1.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild b/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
index 69f041b534ad..e23832becb5f 100644
--- a/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild
@@ -1,32 +1,30 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild,v 1.10 2002/12/09 04:37:26 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.83-r1.ebuild,v 1.11 2003/02/10 09:58:08 seemant Exp $
S=${WORKDIR}/${P}/src
DESCRIPTION="System initialization stuff"
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/init/${P}.tar.gz"
-DEPEND="virtual/glibc"
-RDEPEND="$DEPEND sys-apps/file"
HOMEPAGE="http://freshmeat.net/projects/sysvinit/"
-LICENSE="GPL-2"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/init/${P}.tar.gz"
+
SLOT="0"
+LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc "
-src_unpack() {
+RDEPEND="sys-apps/file"
+src_unpack() {
unpack ${A}
cd ${S}
mv Makefile Makefile.orig
- sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile
+ sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
}
src_compile() {
-
emake LDFLAGS="" || die "problem compiling"
}
src_install() {
-
into /
newsbin init init.system
dosbin halt killall5 runlevel shutdown sulogin
@@ -42,7 +40,6 @@ src_install() {
}
pkg_postinst() {
-
if [ ! -e ${ROOT}sbin/init ]
then
cp -a ${ROOT}sbin/init.system ${ROOT}sbin/init