Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/inotify-tools/
Date: Mon, 22 Aug 2016 12:02:39
Message-Id: 1471867342.c7fac4a987fe4cdadb9e93412e2a6083913ba4a8.polynomial-c@gentoo
1 commit: c7fac4a987fe4cdadb9e93412e2a6083913ba4a8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 22 09:10:34 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 22 12:02:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fac4a9
7
8 sys-fs/inotify-tools: Handle --docdir correctly on Prefix (bug #591676).
9
10 Bumped EAPI to 6.
11
12 Package-Manager: portage-2.3.0
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 sys-fs/inotify-tools/inotify-tools-3.14.ebuild | 9 +++++----
16 1 file changed, 5 insertions(+), 4 deletions(-)
17
18 diff --git a/sys-fs/inotify-tools/inotify-tools-3.14.ebuild b/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
19 index b46ff19..8439209 100644
20 --- a/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
21 +++ b/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
22 @@ -1,12 +1,12 @@
23 -# Copyright 1999-2014 Gentoo Foundation
24 +# Copyright 1999-2016 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 # $Id$
27
28 -EAPI=5
29 +EAPI=6
30
31 DESCRIPTION="a set of command-line programs providing a simple interface to inotify"
32 HOMEPAGE="https://github.com/rvoicilas/inotify-tools/wiki"
33 -SRC_URI="https://github.com/downloads/rvoicilas/${PN}/${P}.tar.gz"
34 +SRC_URI="mirror://github/rvoicilas/${PN}/${P}.tar.gz"
35
36 LICENSE="GPL-2"
37 SLOT="0"
38 @@ -17,6 +17,7 @@ DEPEND="doc? ( app-doc/doxygen )"
39 RDEPEND=""
40
41 src_prepare() {
42 + default
43 # timestamps are busted in tarball
44 find . -type f -exec touch -r configure {} +
45 }
46 @@ -24,7 +25,7 @@ src_prepare() {
47 src_configure() {
48 # only docs installed are doxygen ones, so use /html
49 econf \
50 - --docdir=/usr/share/doc/${PF}/html \
51 + --docdir='$(datarootdir)'/doc/${PF}/html \
52 $(use_enable doc doxygen)
53 }