# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="CellWriter is a grid-entry natural handwriting input panel. As you write characters into the cells, your writing is instantly recognized at the character level. When you press 'Enter' on the panel, the input you entered is sent to the currently focused application as if typed on the keyboard." HOMEPAGE="http://risujin.org/cellwriter/" SRC_URI="http://pub.risujin.org/latest.php?cellwriter/${P}.tar.gz" LICENSE="GNU GPL" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="gnome" DEPEND="x11-libs/libXtst >=x11-libs/gtk+-2.0 gnome? (>=gnome-base/libgnome-2.0)" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" } src_compile() { econf $(use_with gnome) || die "Error: econf failed!" emake || die "Error: emake failed!" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS TODO }