DESCRIPTION="check_hpasm is a plugin for Nagios which checks the hardware health of Hewlett-Packard Proliant Servers." HOMEPAGE="http://www.consol.com/opensource/nagios/check-hpasm/" LICENSE="GPL" DEPEND="${RDEPEND} app-admin/hpasm" #PACKAGE="hpacucli-7.85-18.linux" SRC_URI="http://www.consol.com/fileadmin/opensource/Nagios/${P}.tar.gz" IUSE="" SLOT="0" KEYWORDS="x86" src_install() { emake DESTDIR="${D}" install || die "make install failed" chown root:nagios "${D}"/usr/nagios/libexec/check_hpasm || die "Failed Chown of ${D}usr/nagios/libexec" } src_compile() { econf \ --prefix=/usr/nagios || die "econf failed" emake || die "emake failed" }