summaryrefslogtreecommitdiff
blob: 89938ae5c03c329325e852120b9b6c7ba8f197d3 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/numlockx/numlockx-1.0.ebuild,v 1.15 2005/05/16 14:41:59 seemant Exp $

DESCRIPTION="Turns on numlock in X"
HOMEPAGE="http://ktown.kde.org/~seli/numlockx/"
SRC_URI="mirror://gentoo/${P}.tar.gz"

SLOT="0"
LICENSE="EDB"
KEYWORDS="x86 sparc amd64 ppc64"
IUSE=""

DEPEND="virtual/x11"


src_compile(){
	econf || die
	emake || die
}

src_install(){
	into /usr
	dobin numlockx

	dodoc AUTHORS INSTALL LICENSE README
}

pkg_postinst(){
	einfo ""
	einfo "add 'numlockx' to your X startup programs to have numlock turn on when X starts"
	einfo ""
}