commit:     4d68504044204604c3d1dd2aa5de5742e98fd03d
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 26 10:59:38 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 11:34:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d685040

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(+)

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 00000000000..85fd1b16079
--- /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
+}

Reply via email to