/[gentoo-x86]/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild
Gentoo

Contents of /net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 12 12:10:42 2012 UTC (2 years ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
stable ppc64, bug #441428

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild,v 1.1 2012/08/20 03:20:17 flameeyes Exp $
4
5 EAPI=4
6
7 inherit autotools user
8
9 DESCRIPTION="Additional Nagios plugins for monitoring SNMP capable devices"
10 HOMEPAGE="http://nagios.manubulon.com"
11 SRC_URI="http://nagios.manubulon.com/${P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ppc64 ~sparc ~x86"
16 IUSE=""
17
18 DEPEND="net-analyzer/net-snmp"
19 RDEPEND="${DEPEND}"
20
21 S=${WORKDIR}/nagios-plugins-snmp
22
23 pkg_setup() {
24 enewgroup nagios
25 enewuser nagios -1 /bin/bash /var/nagios/home nagios
26 }
27
28 src_prepare() {
29 sed -i -e '/^CFLAGS=""/d' configure.in
30 eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 --sysconfdir=/etc/nagios \
36 --libexec=/usr/$(get_libdir)/nagios/plugins
37 }
38
39 DOCS=( README NEWS AUTHORS )
40
41 src_install() {
42 default
43
44 fowners root:nagios /usr/$(get_libdir)/nagios/plugins
45 fperms o-rwx /usr/$(get_libdir)/nagios/plugins
46 }

  ViewVC Help
Powered by ViewVC 1.1.20