diff options
Diffstat (limited to 'x11-wm/treewm/treewm-0.4.5.ebuild')
-rw-r--r-- | x11-wm/treewm/treewm-0.4.5.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-wm/treewm/treewm-0.4.5.ebuild b/x11-wm/treewm/treewm-0.4.5.ebuild new file mode 100644 index 000000000000..d412bd23fa91 --- /dev/null +++ b/x11-wm/treewm/treewm-0.4.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="WindowManager that arranges the windows in a tree (not in a list)" +SRC_URI="mirror://sourceforge/treewm/${P}.tar.bz2" +HOMEPAGE="http://treewm.sourceforge.net/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc ppc" +IUSE="" + +RDEPEND="x11-libs/libXau + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-libs/libXdmcp + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-misc/imake + x11-proto/xf86vidmodeproto" + +src_unpack() { + unpack ${A} + # bug 251845 + epatch "${FILESDIR}/${P}-gcc43.patch" + # bug 86453 + sed -i -e "s:malloc:Malloc:g" "${S}"/xprop/dsimple.c +} + +src_compile() { + emake PREFIX="/usr" ROOT="${D}" || die +} + +src_install() { + make PREFIX="/usr" ROOT="${D}" install || die + + # hack for Gentoo's doc policy: + cd "${D}/usr/share/doc/treewm" && dodoc * && cd .. && rm -rf treewm || die +} |