summaryrefslogtreecommitdiff
blob: f145c182b0f7523725512604a82fea95850c4bf1 (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
# Copyright 2021-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="cross-platform file change monitor with multiple backends"
HOMEPAGE="https://github.com/emcrisostomo/fswatch"
SRC_URI="https://github.com/emcrisostomo/${PN}/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"

IUSE="nls static-libs"

src_configure() {
	econf \
		$(use_enable nls) \
		$(use_enable static-libs static) \
		CXX=$(tc-getCXX)
}

src_install() {
	default
	find "${ED}" -type f -name "*.la" -delete || die
}