1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils ltprune multilib
9 DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
10 HOMEPAGE="http://lineak.sourceforge.net"
11 SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
15 KEYWORDS="amd64 ppc sparc x86"
34 "${FILESDIR}"/${P}-gcc43.patch
35 "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
39 econf $(use_enable debug) --with-x
43 sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
45 dodir /usr/share/man/man8
47 emake -j1 DESTDIR="${D}" install
51 dodoc AUTHORS README TODO
53 keepdir /usr/$(get_libdir)/lineakd/plugins
56 doins lineakd.conf.example lineakd.conf.kde.example