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

inherit eutils

MY_PN="${PN}1.2"
MY_P="${MY_PN}-${PV}a"
S=${WORKDIR}/${MY_P}


DESCRIPTION="A library for integration of su into applications"
HOMEPAGE="http://www.nongnu.org/gksu/"
SRC_URI="http://people.debian.org/~kov/gksu/${MY_PN}/${MY_P}.tar.gz"

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

DEPEND=">=dev-util/gtk-doc-1.2-r1
	nls? ( >=sys-devel/gettext-0.14.1 )
	>=x11-libs/gtk+-2"

RDEPEND="${DEPEND}
	app-admin/sudo"

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

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