1 |
commit: 6445ffa1263302c384b33765aa711a59b133b4dd |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 17:08:49 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 17:22:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6445ffa1 |
7 |
|
8 |
sys-fs/inotify-tools: tidy a bit |
9 |
|
10 |
datarootdir trick was shorter/interesting but it also |
11 |
feel a bit too unusual for ebuilds |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild | 20 +++++++++----------- |
16 |
1 file changed, 9 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild b/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild |
19 |
index 6a270595ec4e..8a96f1e65ec8 100644 |
20 |
--- a/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild |
21 |
+++ b/sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild |
22 |
@@ -5,9 +5,9 @@ EAPI=8 |
23 |
|
24 |
inherit autotools |
25 |
|
26 |
-DESCRIPTION="a set of command-line programs providing a simple interface to inotify" |
27 |
-HOMEPAGE="https://github.com/inotify-tools/inotify-tools" |
28 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
29 |
+DESCRIPTION="Set of command-line programs providing a simple interface to inotify" |
30 |
+HOMEPAGE="https://github.com/inotify-tools/inotify-tools/" |
31 |
+SRC_URI="https://github.com/inotify-tools/inotify-tools/archive/${PV}.tar.gz -> ${P}.tar.gz" |
32 |
|
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
@@ -23,24 +23,22 @@ PATCHES=( |
36 |
src_prepare() { |
37 |
default |
38 |
|
39 |
- # Remove -Werror from CFLAGS (#745069) |
40 |
- find -name "Makefile.am" -print0 \ |
41 |
- | xargs --null sed 's@ -Werror@@' -i || die |
42 |
+ sed -i 's/ -Werror//' {,libinotifytools/}src/Makefile.am || die #745069 |
43 |
|
44 |
eautoreconf |
45 |
} |
46 |
|
47 |
src_configure() { |
48 |
- # only docs installed are doxygen ones, so use /html |
49 |
- local myeconfargs=( |
50 |
- --disable-static |
51 |
- --docdir='$(datarootdir)'/doc/${PF}/html |
52 |
+ local econfargs=( |
53 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}/html |
54 |
$(use_enable doc doxygen) |
55 |
) |
56 |
- econf "${myeconfargs[@]}" |
57 |
+ |
58 |
+ econf "${econfargs[@]}" |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
default |
63 |
+ |
64 |
find "${ED}" -type f -name '*.la' -delete || die |
65 |
} |