# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/gnome-system-tools/gnome-system-tools-2.28.2.ebuild,v 1.1 2010/01/20 23:12:50 eva Exp $ EAPI="2" GCONF_DEBUG="no" inherit gnome2 DESCRIPTION="Tools aimed to make easy the administration of UNIX systems" HOMEPAGE="http://www.gnome.org/projects/gst/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nfs policykit samba" RDEPEND=" >=app-admin/system-tools-backends-2.8[policykit=] >=dev-libs/liboobs-2.21.3 >=x11-libs/gtk+-2.16 >=dev-libs/glib-2.15.2 >=gnome-base/gconf-2.2 dev-libs/dbus-glib >=gnome-base/nautilus-2.9.90 sys-libs/cracklib nfs? ( net-fs/nfs-utils ) samba? ( >=net-fs/samba-3 ) policykit? ( >=sys-auth/polkit-0.92 >=gnome-extra/polkit-gnome-0.92 )" DEPEND="${RDEPEND} app-text/scrollkeeper >=app-text/gnome-doc-utils-0.3.2 dev-util/pkgconfig >=dev-util/intltool-0.35.0" DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" pkg_setup() { G2CONF="${G2CONF} --disable-static $(use_enable policykit polkit-gtk)" if ! use nfs && ! use samba; then G2CONF="${G2CONF} --disable-shares" fi } src_install() { gnome2_src_install # No la files needed for nautilus-extensions find "${D}" -name "*.la" -delete || die "failed to delete *.la files" }