# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gkrellm-plugin DESCRIPTION="A GKrellM plugin that pings other hosts" HOMEPAGE="http://makovick.googlepages.com/gkrellmplugins" SRC_URI="http://makovick.googlepages.com/${P}.tgz" IUSE="" RDEPEND=">=app-admin/gkrellm-2.0.0" DEPEND="${RDEPEND}" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" PLUGINDIR=$(gkrellm-plugin_dir) HELPERDIR=${PLUGINDIR}/../exec PLUGIN_SO="multiping.so" src_compile () { emake PLUGINDIR=${PLUGINDIR} HELPERDIR=${HELPERDIR} } src_install () { gkrellm-plugin_src_install insinto ${HELPERDIR} doins pinger || die "doins failed" fperms 4755 ${HELPERDIR}/pinger || die "fperms failed" }