blob: f1591333b0f572d9285521a0f80b62a0025413a0 (
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
31
|
# 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 DRBD"
HOMEPAGE="http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1771.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/perl
virtual/perl-Getopt-Long"
S="${WORKDIR}/${MY_P}"
src_compile() { :; }
src_install() {
dodir /usr/$(get_libdir)/nagios/plugins
exeinto /usr/$(get_libdir)/nagios/plugins
doexe ${MY_PN}.pl
dodoc README
}
|