# Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gkrellm-plugin multilib DESCRIPTION="A GKrellM plugin that pings other hosts" HOMEPAGE="http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html" SRC_URI="http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/${P}.tgz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64" export PLUGIN_SO="multiping.so" src_compile () { emake PLUGINDIR=$(gkrellm-plugin_dir) HELPERDIR=$(gkrellm-plugin_dir)/../exec } src_install () { gkrellm-plugin_src_install insinto $(gkrellm-plugin_dir)/../exec doins pinger || die "doins failed" fperms 4755 $(gkrellm-plugin_dir)/../exec/pinger || die "fperms failed" }