blob: 74d8613ac83d6ffeb2e95c70cf01f9744d196aca [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
inherit eutils
DESCRIPTION="Execute a command when the contents of a directory change"
HOMEPAGE="http://directory.fsf.org/project/dnotify/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~mips ppc -sparc x86"
IUSE="nls"
RDEPEND=""
DEPEND="nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-nls.patch \
"${FILESDIR}"/${P}-glibc-212.patch
}
src_configure() {
econf \
$(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS TODO NEWS README
}