# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/dnotify/dnotify-0.17.1.ebuild,v 1.3 2004/11/03 03:23:40 gustavoz Exp $ DESCRIPTION="Execute a command when the contents of a directory change" SRC_URI="http://www.student.lu.se/~nbi98oli/src/${P}.tar.gz" HOMEPAGE="http://www.student.lu.se/~nbi98oli/dnotify.html" KEYWORDS="~x86 ~amd64 ~ppc -sparc mips" IUSE="nls" SLOT="0" LICENSE="GPL-2" RDEPEND="virtual/libc" DEPEND="${RDEPEND} sys-apps/gawk sys-apps/grep sys-devel/gettext" src_compile() { econf $(use_enable nls) || die "failed to configure" emake || die "failed to make" } src_install() { emake DESTDIR=${D} install || die "make install failed" dodoc AUTHORS TODO NEWS README || die "dodoc failed" } src_test() { make check }