summaryrefslogtreecommitdiff
blob: da25577aa3f486a53905f9b992493fd94416bb14 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xxkb/xxkb-1.10.ebuild,v 1.2 2003/05/20 08:16:47 phosphan Exp $

DESCRIPTION="eXtended XKB - assign different keymaps to different windows"
HOMEPAGE="http://www.tsu.ru/~pascal/other/xxkb/"
SRC_URI="http://www.tsu.ru/~pascal/other/xxkb/xxkb-1.10.tgz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/x11"

src_compile() {
	xmkmf || die
	emake PROJECTROOT=/usr PIXMAPDIR=/usr/share/xxkb || die
}

src_install() {
	dodir /usr/bin
	dodir /usr/share/xxkb
	
	exeinto /usr/bin
	doexe xxkb
	
	insinto /usr/share/xxkb
	doins *.xpm
	doins ${FILESDIR}/*.xpm
	
	insinto /etc/X11/app-defaults
	mv XXkb.ad XXkb
	doins XXkb
	
	dodoc README-Linux.koi8 README.koi8 CHANGES.koi8  ${FILESDIR}/README
	mv xxkb.man xxkb.man.1
	doman xxkb.man.1
}