Install this version:
emerge -a =sys-fs/efsw-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-fs/efsw-9999
Or alternatively:
emerge --autounmask-write -a =sys-fs/efsw-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | ~amd64 | 0 |
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="C++ cross-platform file system watcher and notifier"
HOMEPAGE="https://github.com/SpartanJ/efsw"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SpartanJ/efsw"
else
SRC_URI=""
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE="debug static-libs"
DEPEND="dev-util/premake:4"
src_prepare() {
default
premake4 gmake || die
}
src_compile() {
local myconf="efsw-shared-lib"
# config=relwithdbginfo is unstripped release
use !debug && myconf+=" config=relwithdbginfo"
use static-libs && myconf+=" efsw-static-lib"
emake -C make/linux ARCH="" ${myconf}
}
src_install() {
insinto /usr/include/efsw
doins include/efsw/*.h
dolib.so lib/libefsw.so*
if use static-libs ; then
dolib.a lib/libefsw.a
fi
}
Manage flags for this package:
euse -i <flag> -p sys-fs/efsw |
euse -E <flag> -p sys-fs/efsw |
euse -D <flag> -p sys-fs/efsw
dev-util/premake:4