summaryrefslogtreecommitdiff
blob: b6784c54897bacda4cdf3bdcd4b131124f81c28a (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-1.2.4.ebuild,v 1.2 2005/05/04 15:06:48 dholm Exp $

DESCRIPTION="A gtk+ frontend for libgksu"
HOMEPAGE="http://www.nongnu.org/gksu/"
SRC_URI="http://people.debian.org/~kov/gksu/gksu1.2/${P}.tar.gz"

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

RDEPEND=">=x11-libs/libgksu-1.2
	>=x11-libs/libgksuui-1.0
	>=dev-libs/atk-1.7.2
	>=x11-libs/gtk+-2.0.0
	app-admin/sudo
	virtual/x11
	nls? ( sys-devel/gettext )"

DEPEND="${RDEPEND}
	sys-apps/gawk
	sys-apps/sed
	sys-devel/bison
	sys-apps/grep"


src_compile() {
	econf `use_enable nls` || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
}