# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/ion2/ion2-20040729-r1.ebuild,v 1.4 2007/07/22 06:03:55 dberkholz Exp $ inherit eutils DESCRIPTION="A tiling tabbed window manager designed with keyboard users in mind" HOMEPAGE="http://www.iki.fi/tuomov/ion/" SRC_URI="http://modeemi.fi/~tuomov/ion/dl/ion-2-${PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="2" KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" IUSE="xinerama" DEPEND="x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext xinerama? ( x11-libs/libXinerama ) >=dev-lang/lua-5.0.2 >=sys-devel/libtool-1.4.3" RDEPEND="${DEPEND} x11-apps/xmessage x11-proto/xproto x11-proto/xextproto xinerama? ( x11-proto/xineramaproto ) app-misc/run-mailcap" S=${WORKDIR}/ion-2-${PV} src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/ion2-20040601-rename.patch } src_compile() { local myconf="" if ! has_version ' ${T}/ion2 echo -e "#!/bin/sh\n/usr/bin/pwm2" > ${T}/pwm2 exeinto /etc/X11/Sessions doexe ${T}/ion2 ${T}/pwm2 insinto /usr/share/xsessions doins ${FILESDIR}/ion2.desktop ${FILESDIR}/pwm2.desktop }