# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="ACL editor for GNOME, with Nautilus extension" HOMEPAGE="http://rofi.pinchito.com/eiciel/" SRC_URI="http://rofi.pinchito.com/eiciel/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="nls xattr" RDEPEND=">=sys-apps/acl-2.2.32 >=dev-cpp/gtkmm-2.8.1 >=gnome-base/nautilus-2.12.2 nls? ( virtual/libintl )" DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext )" src_compile() { econf \ $(use_enable xattr user-attributes) \ $(use_enable nls) \ || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" rm "${D}"/usr/share/applications/eiciel.desktop # Wrong path! make_desktop_entry ${PN} Eiciel ${PN}.png System newicon img/icona_eiciel_32.png ${PN}.png dodoc AUTHORS ChangeLog README }