You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
606 B
29 lines
606 B
# Copyright 2022-2022 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"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
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
|
|
}
|