diff options
Diffstat (limited to 'sys-fs/inotify-tools/inotify-tools-4.23.8.0.ebuild')
-rw-r--r-- | sys-fs/inotify-tools/inotify-tools-4.23.8.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-fs/inotify-tools/inotify-tools-4.23.8.0.ebuild b/sys-fs/inotify-tools/inotify-tools-4.23.8.0.ebuild new file mode 100644 index 000000000000..451fdbab4d0e --- /dev/null +++ b/sys-fs/inotify-tools/inotify-tools-4.23.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 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 ~riscv ~sparc ~x86" +IUSE="doc" + +BDEPEND="doc? ( app-doc/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 +} |