summaryrefslogtreecommitdiff
blob: 74591b6924956802384f84c29c1bc059704f828c (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakd/lineakd-0.6_alpha2.ebuild,v 1.2 2003/09/05 23:18:18 msterret Exp $

IUSE="nls xosd"

MY_P=${P/_/-}
S=${WORKDIR}/${MY_P}
DESCRIPTION=" Linux support for Easy Access and Internet Keyboards features X11 support"
HOMEPAGE="http://lineak.sourceforge.net/"
SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND=">=sys-apps/portage-2.0.47-r10
	virtual/x11
	xosd? ( x11-libs/xosd )
	nls? ( sys-devel/gettext )"

src_compile() {
	econf `use_enable nls` `use_with xosd` --with-x || die
	emake || die
}

src_install () {
	make DESTDIR=${D} lineakddocdir=/usr/share/doc/${P} install || die
	dodoc AUTHORS COPYING INSTALL README TODO
}