summaryrefslogtreecommitdiff
blob: c26e4183332a72cdfae4fd908c6ac88dc19165d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/qvwm/qvwm-1.1.12.ebuild,v 1.7 2004/07/15 01:15:08 agriffis Exp $

DESCRIPTION="Qvwm is a Windows 9X like window manager for X Window System."
HOMEPAGE="http://www.qvwm.org/"
SRC_URI="http://www.qvwm.org/archive/qvwm/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE="imlib esd"

RDEPEND="virtual/x11
	imlib? ( >=media-libs/imlib-1.8.2 )
	esd? ( >=media-sound/esound-0.2.6 )"

DEPEND="${RDEPEND}
	sys-devel/flex
	sys-devel/bison"

src_compile(){

	econf \
		`use_with imlib` \
		`use_with esd` || die
	emake || die
}

src_install(){
	make DESTDIR=${D} install || die

	dodoc doc/*
	insinto /etc/skel
	newins rc/system.qvwmrc .qvwmrc

	exeinto /etc/X11/Sessions
	echo "#!/bin/bash" > qvwm
	echo "/usr/bin/qvwm" >> qvwm
	doexe qvwm
}