# Copyright 2000-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit cvs DESCRIPTION="eINIT - an alternate /sbin/init" HOMEPAGE="http://einit.sourceforge.net/" ECVS_SERVER="einit.cvs.sourceforge.net:/cvsroot/einit" ECVS_MODULE="einit" ECVS_AUTH="pserver" ECVS_USER="anonymous" ECVS_PASS="" S="${WORKDIR}/${ECVS_MODULE}" ECVS_CO_DATE="${PV##*_pre} UTC" ECVS_UP_OPTS="-D '${ECVS_CO_DATE}' -dP" ECVS_CO_OPTS="-D '${ECVS_CO_DATE}'" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc efl" RDEPEND="dev-libs/expat doc? ( app-text/docbook-sgml app-doc/doxygen ) efl? ( media-libs/edje x11-libs/evas x11-libs/ecore )" DEPEND="${RDEPEND}" S=${WORKDIR}/einit src_unpack() { cvs_src_unpack } src_compile() { local myconf if use efl ; then myconf="${myconf} --enable-linux --use-posix-regex --prefix=${ROOT} --enable-efl" else myconf="${myconf} --enable-linux --use-posix-regex --prefix=${ROOT}" fi econf ${myconf} || die emake || die if use doc ; then make documentation || die fi } src_install() { emake -j1 install DESTDIR="${D}" || die dodoc AUTHORS ChangeLog COPYING if use doc ; then dohtml build/documentation/html/* fi }