rendered paste body 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/0.3/${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
myconf="--exec-prefix=/"
use sysv && myconf="${myconf} --enable-compat=sysv" \
|| myconf="${myconf} --enable-compat=no"
econf \
$(use_enable nls) \
${myconf}
emake || die "emake failed"
}
src_install() {
# Don't install unneeded stuff.
einstall \
SUBDIRS="po init logd util compat/sysv doc" \
|| die "einstall failed"
}