diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-07-26 12:59:38 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-07-26 13:34:30 +0200 |
commit | 4d68504044204604c3d1dd2aa5de5742e98fd03d (patch) | |
tree | bdc38f6ebc1b1484f8ef02dee685b079d918a74b /x11-plugins | |
parent | x11-plugins/gkrellmss: Drop old (diff) | |
download | gentoo-4d68504044204604c3d1dd2aa5de5742e98fd03d.tar.gz gentoo-4d68504044204604c3d1dd2aa5de5742e98fd03d.tar.bz2 gentoo-4d68504044204604c3d1dd2aa5de5742e98fd03d.zip |
x11-plugins/gkrellmwireless: Fix dependency on gkrellm[X]
Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --force
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/gkrellmwireless/gkrellmwireless-2.0.3-r2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
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 +} |