summaryrefslogtreecommitdiff
blob: 6a1749dd8b7a4780919d88a758cd800d989af0fd (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/xsu2/xsu2-0.2.5.ebuild,v 1.11 2004/06/24 21:43:24 agriffis Exp $

DESCRIPTION="Interface for 'su - username -c command' in GNOME2."
HOMEPAGE="http://xsu.freax.eu.org/"
SRC_URI="http://xsu.freax.eu.org/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc amd64"
IUSE=""

RDEPEND="=gnome-base/libgnome-2*
	=x11-libs/gtk+-2*
	=dev-libs/glib-2*
	=x11-libs/libzvt-2*
	=gnome-base/libgnomeui-2*"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_compile() {
	econf \
		--prefix=/usr || die
	emake || die
}

src_install() {
	dobin src/xsu || die
	doman doc/xsu.8
	dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
	dohtml -r doc/xsu_*
}