blob: bb5dfe3f9ee99869655fddee55af732d66e411d6 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/treewm/treewm-0.4.2.ebuild,v 1.9 2003/02/13 17:54:45 vapier Exp $
DESCRIPTION="WindowManager that arranges the windows in a tree not a list"
SRC_URI="mirror://sourceforge/treewm/${PN}_${PV}.tar.bz2"
HOMEPAGE="http://treewm.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc ~ppc"
DEPEND="virtual/glibc
virtual/x11"
src_unpack() {
unpack ${A}
cd ${S}
# this is definitely going to be an upstream patch (mkennedy)
patch -p1 <${FILESDIR}/treewm-0.4.2-gcc3-gentoo.patch || die
}
src_compile() {
cd treewm
cp Makefile Makefile.orig
sed -e "s:PREFIX = /usr/X11R6:PREFIX = ${D}/usr:" \
Makefile.orig > Makefile
cd ..
emake || die
}
src_install() {
dodir /usr
dodir /usr/pixmaps
dobin treewm/treewm
make install || die
dodoc ChangeLog README AUTHORS default.cfg sample.cfg TODO README.tiling PROBLEMS
}
|