# 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.1 2005/05/01 04:58:47 dragonheart 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" 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 }