SwordArMor-gentoo-overlay/net-analyzer/nagios-check-zfs-linux/nagios-check-zfs-linux-1.2.ebuild
Alarig Le Lay f776a2c6a9
net-analyzer/nagios-check-zfs-linux: Gitea has different naming
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-06-14 16:17:36 +02:00

32 lines
664 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit python-r1
MY_PN=${PN//-/_}
DESCRIPTION="Nagios plugin to check ZFS pool in the Linux environment"
HOMEPAGE="https://github.com/zlacelle/nagios_check_zfs_linux"
SRC_URI="https://git.grifon.fr/alarig/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${MY_PN}"
src_install() {
python_scriptinto /usr/lib64/nagios/plugins/
python_foreach_impl python_newscript check_zfs.py check_zfs
dodoc README.md
}