-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=6
DESCRIPTION="Execute a command when the contents of a directory change"
-HOMEPAGE="http://directory.fsf.org/project/dnotify/"
+HOMEPAGE="https://directory.fsf.org/project/dnotify/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
RDEPEND=""
DEPEND="nls? ( sys-devel/gettext )"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-nls.patch \
- "${FILESDIR}"/${P}-glibc-212.patch
-}
+PATCHES=(
+ "${FILESDIR}/${P}-nls.patch"
+ "${FILESDIR}/${P}-glibc-212.patch"
+)
src_configure() {
econf \
src_install() {
emake DESTDIR="${D}" install || die
- dodoc AUTHORS TODO NEWS README
+ default
}
---- src/gettext.h.orig 2006-01-27 18:23:31.000000000 +0100
-+++ src/gettext.h 2006-01-27 18:25:07.000000000 +0100
+--- a/src/gettext.h 2006-01-27 18:23:31.000000000 +0100
++++ b/src/gettext.h 2006-01-27 18:25:07.000000000 +0100
@@ -24,6 +24,7 @@
/* Get declarations of GNU message catalog functions. */