# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils IUSE="debug nls" DESCRIPTION="Equinox Desktop Environment is a small desktop environment, built to be simple and fast." HOMEPAGE="http://ede.sourceforge.net/page/" SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/ede/ede-${PV}.tar.bz2" SLOT="1" LICENSE="GPL-2" KEYWORDS="~x86" RDEPEND="virtual/x11" DEPEND="${RDEPEND} app-arch/bzip2 >=x11-libs/efltk-2.0.4" src_unpack() { unpack ${A} } src_compile() { cd ${WORKDIR}/ede econf \ --prefix=${D}usr/local/ \ $(use_enable nls) \ $(use_enable debug) make || die } src_install() { cd ${WORKDIR}/ede # This I can't understand, but without it install fails mkdir ${D}usr/bin -p einstall || die # create ede session shell script # this part lifted from wmaker ebuild echo "#!/bin/sh" > ede echo "/usr/bin/startede" >> ede exeinto /etc/X11/Sessions/ doexe ede }