summaryrefslogtreecommitdiff
blob: 8d4354f8685ea1700409619ac7c7b6becf182735 (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
# 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.2 2004/11/01 10:49:24 kumba 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
}