blob: 23b12e2d3f78fb3284a232e6ab34a8c2d03f7732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xstroke/xstroke-0.5.12-r1.ebuild,v 1.6 2004/06/24 22:45:31 agriffis Exp $
DESCRIPTION="Gesture/Handwriting recognition engine for X"
HOMEPAGE="http://dsn.east.isi.edu/xstroke/"
SRC_URI="ftp://ftp.handhelds.org/pub/projects/${PN}/release-0.5/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc alpha ~mips hppa"
IUSE=""
DEPEND="virtual/x11"
src_unpack() {
unpack ${A}
cd ${S}
xmkmf -a # generate Makefile from Imakefile
}
src_compile() {
# otherwise it'll include the wrong freetype headers.
emake \
INCLUDES="-I/usr/include/freetype2" \
DEFINES="-DXK_XKB_KEYS" \
|| die "emake failed"
}
src_install() {
make DESTDIR="${D}" BINDIR=/usr/bin install || die "make install failed"
newman xstroke.man xstroke.1
dodoc AUTHORS ChangeLog README TODO
dohtml -r doc
}
|