commit:     d52abe88f3211bf2109f7c9b470250cae1929145
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Jun 11 20:17:31 2018 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Thu Jun 14 09:01:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52abe88

x11-plugins/wmSMPmon: EAPI7, use HTTPS, improve ebuild

 .../wmSMPmon/files/wmSMPmon-3.1-makefile.patch     |  4 +--
 x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild        | 31 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch 
b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch
index 1bd27f47c0f..3dd1b0636d8 100644
--- a/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch
+++ b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig      2005-02-22 23:24:23.000000000 +0100
-+++ Makefile   2008-01-28 00:12:33.000000000 +0100
+--- a/Makefile 2005-02-22 23:24:23.000000000 +0100
++++ b/Makefile 2008-01-28 00:12:33.000000000 +0100
 @@ -2,22 +2,24 @@
  # Adapted for wmSMPmon 2.9.x and higher: Thomas Ribbrock
  

diff --git a/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild 
b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild
new file mode 100644
index 00000000000..5ec664e00fd
--- /dev/null
+++ b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="SMP system monitor dockapp"
+HOMEPAGE="https://www.dockapps.net/wmsmpmon";
+SRC_URI="https://www.dockapps.net/download/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+       x11-libs/libXext
+       x11-libs/libXpm"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto"
+
+DOCS=( ../Changelog )
+
+S="${WORKDIR}/${P}/${PN}"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+       emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
+}

Reply via email to