# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Upstart is an event-based replacement for the init daemon" HOMEPAGE="http://upstart.ubuntu.com/" SRC_URI="http://upstart.ubuntu.com/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="nls sysv" DEPEND=">=sys-devel/autoconf-2.60 >=sys-devel/automake-1.9 >=sys-devel/libtool-1.5.22 >=sys-devel/gettext-0.15" RDEPEND="" src_compile() { local myconf use nls && myconf="--enable-nls" || myconf="--disable-nls" use sysv && myconf="${myconf} --enable-compat sysv" || myconf="${myconf} --enable-compat no" econf ${myconf} emake || die "emake failed" } src_install() { # Don't install the m4 directory. that will overwrite some system settings (still needed?) einstall \ SUBDIRS="po intl nih upstart init logd util compat/sysv doc"\ || die "einstall failed" }