# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.87-r3.ebuild,v 1.12 2010/04/11 16:54:43 armin76 Exp $ inherit eutils git PATCH_VER="2" DESCRIPTION="Replacement for sysvinit" HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" EGIT_REPO_URI="git://anongit.freedesktop.org/systemd" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nosysv" RDEPEND=">=sys-kernel/linux-headers-2.6.32 >=dev-libs/libcgroup-0.35 >=dev-lang/vala-0.7 " DEPEND="${RDEPEND}" src_unpack() { git_src_unpack } src_compile() { if use nosysv ; then epatch "${FILESDIR}/${P}-nosysv.patch" || die "epatch failed" fi ./bootstrap.sh --with-distro=gentoo || die "bootstrap.sh failed" emake ${myconf} || die "emake failed" } src_install() { emake DESTDIR=${D} install || die "emake install failed" }