# Copyright 1999-2002 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.7 2002/12/09 04:42:03 manson 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 " 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 }