summaryrefslogtreecommitdiff
blob: b9b1cbba7cdadc341cde7c551a99e9ede444f4b0 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit multilib

DESCRIPTION="A nagios plugin for checking Linux software RAID"
HOMEPAGE="http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2418.html;d=1"

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="dev-lang/python"

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

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