36 lines
614 B
Bash
36 lines
614 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
MODULE_AUTHOR=BLOONIX
|
|
MODULE_VERSION=0.66
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Collect linux system statistics"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND="dev-perl/YAML-Syck"
|
|
DEPEND="
|
|
dev-perl/Module-Build
|
|
test? (
|
|
virtual/perl-Test-Simple
|
|
)"
|
|
|
|
SRC_TEST="do"
|
|
|
|
src_install() {
|
|
perl-module_src_install
|
|
|
|
docompress -x /usr/share/doc/$PF/examples
|
|
insinto /usr/share/doc/$PF/examples
|
|
doins examples/*
|
|
}
|
|
|
|
src_test() {
|
|
perl_rm_files t/001-pod.t t/002-pod-coverage.t
|
|
perl-module_src_test
|
|
}
|