From 4d68504044204604c3d1dd2aa5de5742e98fd03d Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Wed, 26 Jul 2017 12:59:38 +0200 Subject: x11-plugins/gkrellmwireless: Fix dependency on gkrellm[X] Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --force --- .../gkrellmwireless-2.0.3-r2.ebuild | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild new file mode 100644 index 000000000000..85fd1b160794 --- /dev/null +++ b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gkrellm-plugin toolchain-funcs + +S="${WORKDIR}/${PN}" +DESCRIPTION="A plugin for GKrellM that monitors your wireless network card" +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz" +HOMEPAGE="http://gkrellm.luon.net/gkrellmwireless.php" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +RDEPEND="app-admin/gkrellm[X]" + +PLUGIN_SO=wireless.so + +src_prepare() { + default + sed -i \ + -e '/^CC =/s:gcc $(CFLAGS) $(FLAGS):'"$(tc-getCC)"' $(FLAGS) $(CFLAGS):' \ + -e '/-o wireless.so/s: : $(LDFLAGS) :' \ + Makefile || die +} -- cgit v1.2.3-65-gdbad