summaryrefslogtreecommitdiff
blob: 258e31f90f4bcdaa74f1a6e18ec0382025449be5 (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.3 2004/09/26 21:22:00 kugelfang 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
}