# 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 /sbin/init daemon" HOMEPAGE="http://upstart.ubuntu.com/" SRC_URI="http://upstart.ubuntu.com/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="nls sysv" DEPEND="" RDEPEND="${DEPEND}" # --enable-compat=sysv src_unpack() { unpack ${A} epatch ${FILESDIR}/upstart-0.3.0.patch } src_compile() { local myconf use nls && myconf="--enable-nls" || myconf="--disable-nls" econf ${myconf} \ `use_enable sysv compat=sysv` || die "econf failed" emake || die "emake failed" } src_install() { # Don't install the m4 directory. See: # http://lists.netsplit.com/pipermail/upstart-devel/2006-October/000585.html einstall \ SUBDIRS="po intl nih upstart init logd util compat/sysv doc"\ || die "einstall failed" }