summaryrefslogtreecommitdiff
blob: d237d1e4406d5ba3510523b33419195205baf621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit multilib

DESCRIPTION="A nagios plugin for checking the chassis status of IPMI-enabled servers"
HOMEPAGE=""

MY_PN=${PN/nagios-/}
MY_P=${MY_PN}-${PV}

SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL"
SLOT="0"

KEYWORDS="~amd64 ~x86"

DEPEND=""
RDEPEND="app-shells/bash
	sys-apps/ipmitool"

S="${WORKDIR}/${MY_P}"

src_compile() { :; }
src_install() {
	dodir /usr/$(get_libdir)/nagios/plugins
	exeinto /usr/$(get_libdir)/nagios/plugins
	doexe ${MY_PN}.sh
}