# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 DESCRIPTION="Nautilus actions is an extension for Nautilus, the gnome file manager. It allow to configure program to be launch on files selected into Nautilus interface." HOMEPAGE="http://www.grumz.net" SRC_URI="ftp://ftp2.grumz.net/grumz/${P}.tar.gz" LICENSE="GPL-2" IUSE="doc" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" RDEPEND=">=dev-libs/glib-2.6 >=x11-libs/gtk+-2.6.8 >=gnome-base/nautilus-2.8" DEPEND=">=dev-util/intltool-0.29 >=dev-util/pkgconfig-0.9.0 ${RDEPEND}" DOCS="AUTHORS Changelog" USE_DESTDIR=1 src_compile() { econf --disable-schemas-install || die "econf failed" } pkg_postinst() { GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule /etc/gconf/schemas/config_newaction.schemas } pkg_postrm() { GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/config_newaction.schemas }