blob: 1018d2faf4843e24549f0de7f3739bffe7efb244 (
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
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/vtwm/vtwm-5.4.6a.ebuild,v 1.12 2007/07/02 10:54:16 coldwind Exp $
DESCRIPTION="one of many TWM descendants and implements a Virtual Desktop"
HOMEPAGE="http://www.vtwm.org/"
SRC_URI="ftp://ftp.visi.com/users/hawkeyd/X/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha ppc sparc x86"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXext
x11-libs/libXpm"
DEPEND="${RDEPEND}
x11-misc/imake
app-text/rman
x11-proto/xproto
x11-proto/xextproto"
src_compile() {
xmkmf || die "xmkmf failed"
emake -j1 || die "emake failed"
}
src_install() {
make BINDIR=/usr/bin \
LIBDIR=/etc/X11 \
MANPATH=/usr/share/man \
DESTDIR="${D}" install || die "make install failed"
echo "#!/bin/sh" > vtwm
echo "xsetroot -cursor_name left_ptr &" >> vtwm
echo "/usr/bin/vtwm" >> vtwm
exeinto /etc/X11/Sessions
doexe vtwm || die
dodoc doc/{4.6.*,CHANGELOG,BUGS,DEVELOPERS,HISTORY,SOUND,WISHLIST} || die
}
|