summaryrefslogtreecommitdiff
blob: 8b38cc48d8eadbd0812091d128415f7caa20ae7a (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xwit/xwit-3.4.ebuild,v 1.4 2005/06/05 14:18:13 pyrania Exp $

inherit eutils

IUSE=""

DESCRIPTION="xwit (x window interface tool) is a hodge-podge collection of simple routines to call some of those X11 functions that don't already have any utility commands built around them."
HOMEPAGE="http://www.x.org/contrib/utilities/${P}.README"
SRC_URI="http://www.x.org/contrib/utilities/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

DEPEND="virtual/x11"

src_compile() {
	epatch ${FILESDIR}/malloc.patch
	
	xmkmf || die "xmkmf failed"
	emake || die "Make failed"
}

src_install() {
	dobin xwit
	cp xwit.man xwit.1
	doman xwit.1
}