Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellmwireless/
Date: Wed, 26 Jul 2017 11:35:00
Message-Id: 1501068870.4d68504044204604c3d1dd2aa5de5742e98fd03d.pacho@gentoo
1 commit: 4d68504044204604c3d1dd2aa5de5742e98fd03d
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 26 10:59:38 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 26 11:34:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d685040
7
8 x11-plugins/gkrellmwireless: Fix dependency on gkrellm[X]
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11 RepoMan-Options: --force
12
13 .../gkrellmwireless-2.0.3-r2.ebuild | 27 ++++++++++++++++++++++
14 1 file changed, 27 insertions(+)
15
16 diff --git a/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild
17 new file mode 100644
18 index 00000000000..85fd1b16079
19 --- /dev/null
20 +++ b/x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +inherit gkrellm-plugin toolchain-funcs
27 +
28 +S="${WORKDIR}/${PN}"
29 +DESCRIPTION="A plugin for GKrellM that monitors your wireless network card"
30 +SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
31 +HOMEPAGE="http://gkrellm.luon.net/gkrellmwireless.php"
32 +
33 +SLOT="2"
34 +LICENSE="GPL-2"
35 +KEYWORDS="amd64 ~ppc ~sparc x86"
36 +IUSE=""
37 +
38 +RDEPEND="app-admin/gkrellm[X]"
39 +
40 +PLUGIN_SO=wireless.so
41 +
42 +src_prepare() {
43 + default
44 + sed -i \
45 + -e '/^CC =/s:gcc $(CFLAGS) $(FLAGS):'"$(tc-getCC)"' $(FLAGS) $(CFLAGS):' \
46 + -e '/-o wireless.so/s: : $(LDFLAGS) :' \
47 + Makefile || die
48 +}