# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Ratpoison is an extremely light-weight and barebones wm modelled after screen" HOMEPAGE="http://ratpoison.sourceforge.net/" LICENSE="GPL-2" SRC_URI="mirror://sourceforge/${PN}/${PN}-1.2.0-beta5.tar.gz" SLOT="0" KEYWORDS="x86" IUSE="" S=${WORKDIR}/${PN}-1.2.0-beta5 src_unpack() { unpack ${PN}-1.2.0-beta5.tar.gz patch -p0 < ${FILESDIR}/patch-${P} } src_compile() { econf emake CFLAGS="${CFLAGS} -I/usr/X11R6/include" || die } src_install() { einstall dodoc INSTALL TODO README NEWS AUTHORS ChangeLog docinto example dodoc contrib/{genrpbindings,ratpoison.el,split.sh} doc/{ipaq.ratpoisonrc,sample.ratpoisonrc} rm -rf $D/usr/share/{doc/ratpoison,ratpoison} }