blob: 1f6edb230bc74b6005b2d27001d7dcbfc79339ac (
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
32
33
34
35
36
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit multilib
IUSE=""
DESCRIPTION=""
HOMEPAGE="http://dev.gentoo.org/~wschlich/misc/nagios/${PN}/"
SRC_URI="http://dev.gentoo.org/~wschlich/misc/nagios/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="mirror"
src_compile() {
:
}
src_install() {
diropts -o root -g root -m 0750
dodir /usr/$(get_libdir)/nagios/plugins/extra
diropts -o root -g nagios -m 0750
dodir /usr/$(get_libdir)/nagios/plugins/extra
exeopts -o root -g nagios -m 0750
exeinto /usr/$(get_libdir)/nagios/plugins/extra
doexe plugins/*
dodoc misc/*
}
pkg_postinst() {
chown root:nagios ${ROOT}/usr/$(get_libdir)/nagios/plugins
chmod 0750 ${ROOT}/usr/$(get_libdir)/nagios/plugins
}
|