blob: 9f5d0f02a1c8402a7bd05e42a2156a9c23ccc706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="a set of command-line programs providing a simple interface to inotify"
HOMEPAGE="https://github.com/rvoicilas/inotify-tools/wiki"
SRC_URI="https://github.com/rvoicilas/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~sparc ~x86"
IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
src_prepare() {
default
eautoreconf
}
src_configure() {
# only docs installed are doxygen ones, so use /html
local myeconfargs=(
--docdir='$(datarootdir)'/doc/${PF}/html
$(use_enable doc doxygen)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED%/}" \( -name '*.a*' -o -name '*.la' \) -delete || die
}
|