Install this version:
emerge -a =app-misc/co2mon-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/co2mon-9999
Or alternatively:
emerge --autounmask-write -a =app-misc/co2mon-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 cmake
DESCRIPTION="CLI for MasterKit CO2 Monitor"
HOMEPAGE="https://github.com/dmage/co2mon"
EGIT_REPO_URI="https://github.com/dmage/co2mon"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="+rrdtool"
DEPEND="
rrdtool? ( net-analyzer/rrdtool )
dev-libs/hidapi"
RDEPEND="${DEPEND}"
src_install() {
dolib.so $BUILD_DIR/libco2mon/libco2mon.*
doheader libco2mon/include/co2mon.h
dobin $BUILD_DIR/co2mond/co2mond
if use rrdtool; then
keepdir /var/db/co2mon/
dobin "$FILESDIR/co2mond-rrd"
doinitd "$FILESDIR/init.d/co2mond-rrd"
fi
}
Manage flags for this package:
euse -i <flag> -p app-misc/co2mon |
euse -E <flag> -p app-misc/co2mon |
euse -D <flag> -p app-misc/co2mon
rrdtool? ( net-analyzer/rrdtool ) dev-libs/hidapi
rrdtool? ( net-analyzer/rrdtool ) dev-libs/hidapi