# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils DESCRIPTION="An extremly fast and lightweight file manager which features tabbed browsing and user-friendly interface" HOMEPAGE="http://pcmanfm.sourceforge.net/" MY_P="${P/_/-}" S="${WORKDIR}/${MY_P}" IUSE="hal" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~ppc ~x86" DEPEND=">=sys-devel/automake-1.9 >=x11-libs/gtk+-2 >=dev-libs/glib-2.10 hal? (sys-apps/hal sys-apps/dbus)" src_compile() { einfo "Enabling inotify, make sure you have it enabled in your kernel ( >=2.6.13 )" econf \ --enable-inotify \ $(use_enable hal) || die "Error: econf failed!" emake || die "Error: emake failed!" } src_install () { make DESTDIR="${D}" install || die "make install failed" }