# 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" ECVS_SERVER="cvs.sourceforge.net:/cvsroot/ratpoison" ECVS_MODULE="ratpoison" ECVS_TOP_DIR="${DISTDIR}/cvs-src/${P}" inherit cvs SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR}/${ECVS_MODULE} src_compile() { $S/autogen.sh || die "autogen.sh failed" econf || die "econf failed" emake CFLAGS="${CFLAGS} -I/usr/X11R6/include" || die "emake failed" } src_install() { einstall || die "einstall failed" dodoc AUTHORS ChangeLog FAQ INSTALL NEWS README* TODO docinto example dodoc contrib/{genrpbindings,rpws} contrib/*.{pl,sh,el} rm -rf $D/usr/share/{doc/ratpoison,ratpoison} }