29 lines
749 B
Bash
29 lines
749 B
Bash
# 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"
|
|
}
|