summaryrefslogtreecommitdiff
blob: 79c718be0e4159f1ec17e61c0698acd2b6307515 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/unclutter/unclutter-8-r1.ebuild,v 1.8 2006/08/01 14:10:24 jer Exp $

inherit toolchain-funcs

S="${WORKDIR}/${PN}"
DESCRIPTION="Hides mouse pointer while not in use."
HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README"
SRC_URI="ftp://ftp.x.org/contrib/utilities/${P}.tar.Z"
SLOT="0"
LICENSE="public-domain"
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 ~sparc x86"
IUSE=""
RDEPEND="|| ( x11-libs/libX11
			  virtual/x11
			)"
DEPEND="|| ( ( x11-libs/libX11
			   x11-proto/xproto )
			 virtual/x11
			)"

src_compile() {
	# This xmkmf appears unnecessary
	# xmkmf -a || die "Couldn't run xmkmf"
	emake -j1 CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
}

src_install () {
	dobin unclutter
	newman unclutter.man unclutter.1x
	dodoc README
}