# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-terms/aterm/aterm-1.0.0.ebuild,v 1.5 2006/12/07 17:42:50 uberlord Exp $ inherit flag-o-matic DESCRIPTION="yeahconsole turns an xterm or rxvt-unicode into a game-like console" HOMEPAGE="http://phrat.de/yeahtools.html" SRC_URI="http://phrat.de/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" RDEPEND="x11-libs/libX11 || ( ( >=x11-terms/xterm-222 ) ( >=x11-term/rxvt-unicode-8.1 ) )" DEPEND="${RDEPEND} x11-proto/xproto" src_compile() { # Set the portage CFLAGS sed -i 's/^\(FLAGS = \).*/\1'"${CFLAGS}"'/' Makefile || \ die "CFLAGS setting failed" emake || die "emake failed" } src_install() { dodir /usr/bin emake PREFIX=${D}/usr install || die "emake install failed" dodoc README LICENSE }