x11-plugins/wmSMPmon: EAPI7, use HTTPS, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 11 Jun 2018 20:17:31 +0000 (22:17 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Thu, 14 Jun 2018 09:01:07 +0000 (11:01 +0200)
x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch
x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild [new file with mode: 0644]

index 1bd27f47c0f12677f20ca78a82ebb80ae9e4324c..3dd1b0636d86398835592ee668eef83ae1c625ae 100644 (file)
@@ -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 (file)
index 0000000..5ec664e
--- /dev/null
@@ -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)"
+}