sys-fs/inotify-tools: Sync with Gentoo

It's from Gentoo commit 2bc5c20fe023c52c5a72fb48a34e086faf4b3de8.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-22 07:11:42 +00:00 committed by Krzesimir Nowak
parent d3877004a0
commit 37356748e1
2 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST inotify-tools-4.23.9.0.tar.gz 93281 BLAKE2B eddb0e44721cd8674f2309046998de16a030ed9ad84c49bc5950b9362055db9242dc0de1c615c3bd6c1f2835c83fc55446c9f8e6da52a98870c53f4e6cfa31f9 SHA512 8f44037a482fa39978b845b4989834e8c897ad872913c6cb8c4a987e0d13f9177b05f593332b859d7adde228fdc3512fd45d66cab65368c38926f41d57e22d13
DIST inotify-tools-4.25.9.0.tar.gz 94099 BLAKE2B f32a7cfaf76e8896a6f581bbffe443109c017c59b44d5f9d15ca019029da4895b04880d404765921b201a9eaf1864d0085aa47366112bec0c3afd5c0fcfe5c47 SHA512 a441289d570995105296a2b82ddade8256508b43bc127a5bb318f7c371f3120c082371fdc308fe56dbec921e948f954c2e4efb418968748a8790945dad6a2e46

View File

@ -0,0 +1,45 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Set of command-line programs providing a simple interface to inotify"
HOMEPAGE="https://github.com/inotify-tools/inotify-tools/"
SRC_URI="
https://github.com/inotify-tools/inotify-tools/archive/${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc"
BDEPEND="
doc? ( app-text/doxygen )
"
src_prepare() {
default
sed -i 's/ -Werror//' {,libinotifytools/}src/Makefile.am || die #745069
eautoreconf
}
src_configure() {
local econfargs=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}/html
$(use_enable doc doxygen)
)
econf "${econfargs[@]}"
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
}