diff options
Diffstat (limited to 'x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild')
-rw-r--r-- | x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild b/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild new file mode 100644 index 000000000000..951eb4818034 --- /dev/null +++ b/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +MY_P=${P/-/_} + +DESCRIPTION="an Image-Watcher-Plugin for GKrellM2" +HOMEPAGE="http://gkrellkam.sourceforge.net" +SRC_URI="mirror://sourceforge/gkrellkam/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-admin/gkrellm:2[X] + net-misc/wget" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-r1-pkgconfig.patch +) + +src_compile() { + tc-export PKG_CONFIG + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + local PLUGIN_SO=( ${PN}2$(get_modname) ) + local PLUGIN_DOCS=( example.list ) + + gkrellm-plugin_src_install + doman gkrellkam-list.5 +} |