# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild,v 1.2 2009/05/30 18:40:25 mr_bones_ Exp $ GPE_TARBALL_SUFFIX="bz2" inherit eutils gpe autotools DESCRIPTION="GPE Desktop Manager" LICENSE="GPL-2" SLOT="0" KEYWORDS="~arm ~amd64 ~x86" IUSE="" DEPEND="${DEPEND}" RDEPEND="${RDEPEND} ${DEPEND} x11-apps/xinit" src_unpack() { gpe_src_unpack "$@" # The default path is ugly and might confuse people with # /etc/X11/xinit sed -i -e 's;/etc/X11;/etc/X11/gpe-dm;' gpe-dm.c \ || die "Failed to sed file gpe-dm.c" # Dont use /etc/init.d/gpe-dm, use # /etc/init.d/xdm instead epatch "${FILESDIR}/${PN}-noinitd.patch" eautoreconf } src_install() { gpe_src_install "$@" dodir /etc/X11/gpe-dm/Xinit.d exeinto /etc/X11/gpe-dm doexe "${FILESDIR}/Xinit" doexe "${FILESDIR}/Xserver" } pkg_postinst() { einfo "You *really* should edit /etc/X11/gpe-dm/Xserver now to set the" einfo "Xserver parameters (resolution, mouse, kb, ..)." einfo "If you need some X services to be started upon X initialization," einfo "add them to /etc/X11/gpe-dm/Xinit.d/ ." }