summaryrefslogtreecommitdiff
blob: 9be4ee5b31d35745446dcf30f31bf40753f7cd2a (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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-check_pidfile/nagios-check_pidfile-1.ebuild,v 1.1 2012/12/17 09:15:23 hollow Exp $

EAPI="3"

inherit autotools

DESCRIPTION="A nagios plugin for checking daemons via pidfiles"
HOMEPAGE="https://github.com/hollow/check_pidfile"
SRC_URI="https://github.com/hollow/check_pidfile/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=net-analyzer/nagios-plugins-1.4.13-r1"
RDEPEND="${DEPEND}"

S="${WORKDIR}"/check_pidfile-${PV}

src_prepare() {
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}