app-misc/co2mon - 9999 (booboo)

Search

Install

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

Package Information

Description:
CLI for MasterKit CO2 Monitor
Homepage:
https://github.com/dmage/co2mon
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# 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
}

USE Flags

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

Global/Standard Flags

rrdtool
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	rrdtool? ( net-analyzer/rrdtool )
	dev-libs/hidapi

RDEPEND

	rrdtool? ( net-analyzer/rrdtool )
	dev-libs/hidapi