blob: 1045483f0da40b146e5cf4f63ac5f1b77fae56c3 (
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
36
37
38
39
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.2 2004/04/05 14:02:06 zx Exp $
inherit eutils
IUSE=""
S=${WORKDIR}/${P}
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"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc sparc ~alpha ~mips hppa"
DEPEND=">=x11-base/xfree-4.1.0"
src_unpack() {
unpack ${A}
# generate Makefile from Imakefile
cd ${S}; xmkmf -a
}
src_compile() {
# otherwise it'll include the wrong freetype headers.
make \
INCLUDES="-I/usr/include/freetype2" \
DEFINES="-DXK_XKB_KEYS" \
|| die
}
src_install() {
make DESTDIR=${D} BINDIR=/usr/bin install || die
newman xstroke.man xstroke.1
dodoc AUTHORS COPYING ChangeLog README TODO
dohtml -r doc
}
|