summaryrefslogtreecommitdiff
blob: d28421076a706663e736291b9fda46ac22359051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.16.0.ebuild,v 1.5 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"

DEPEND="virtual/libc
	sys-apps/gawk
	sys-apps/grep
	sys-devel/gettext"

RDEPEND="virtual/libc"

src_compile() {
	econf `use_enable nls` || die "failed to configure"
	emake || die "failed to make"
}

src_install() {
	emake DESTDIR=${D} \
		install || die
	dodoc AUTHORS INSTALL TODO ChangeLog COPYING* NEWS README
}

src_test() {
	make check
}