summaryrefslogtreecommitdiff
blob: d6f281874d2c36b6559272b9ef223ae42829c637 (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/app-admin/xsu2/xsu2-0.2.5.ebuild,v 1.13 2005/01/01 11:36:55 eradicator 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_*
}