summaryrefslogtreecommitdiff
blob: 44b17bbe4e3b8b1168d79bf4dec26fd29790f5ff (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-1.0.5.ebuild,v 1.6 2004/06/28 17:32:57 agriffis Exp $

DESCRIPTION="This library provides a gtk+ front end to su and sudo"
HOMEPAGE="http://www.nongnu.org/gksu/"
SRC_URI="http://people.debian.org/~kov/gksu/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE="nls"

DEPEND="sys-apps/gawk
	sys-apps/sed
	sys-apps/grep
	>=x11-libs/gtk+-2
	dev-util/pkgconfig
	nls? ( sys-devel/gettext )
	sys-devel/libtool
	sys-devel/gcc
	virtual/libc
	>=dev-util/gtk-doc-1.0
	sys-devel/m4
	sys-devel/bison"

RDEPEND="dev-libs/atk
	dev-libs/expat
	dev-libs/glib
	media-libs/fontconfig
	media-libs/freetype
	virtual/libc
	sys-libs/zlib
	virtual/x11
	x11-libs/gtk+
	x11-libs/pango
	app-admin/sudo"


src_compile() {

	econf `use_enable nls` || die "Configure failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die
}