summaryrefslogtreecommitdiff
blob: a79177b195dbd5a94ce2f74b6090a95fabb53e1f (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
40
41
42
43
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkbd/xkbd-0.8.12.ebuild,v 1.7 2004/08/09 17:08:42 slarti Exp $

DESCRIPTION="Xkbd - onscreen soft keyboard for X11"
HOMEPAGE="http://handhelds.org/~mallum/xkbd/"
SRC_URI="http://handhelds.org/~mallum/xkbd/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS="x86 ~amd64"

IUSE="doc debug"

DEPEND="sys-devel/libtool
	virtual/x11
	media-libs/freetype
	virtual/xft
	dev-libs/expat
	sys-libs/zlib
	doc? ( app-text/docbook-sgml-utils )"

src_compile() {
	econf\
	`use_enable debug` || die "econf failed"

	emake || die

	if use doc; then
		docbook2html README
	fi
}

src_install() {
	einstall || die
	dodoc AUTHORS COPYING NEWS README

	if use doc; then
		insinto /usr/share/doc/${PF}/html
		doins *.html
	fi
}