summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-08-12 11:02:01 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2015-08-12 11:04:34 +0200
commit6d7592924450ce5bd866b53b465e1f5df372a41e (patch)
tree8e689b6ffd4c77f6906490e3ac2d3d2ef3f1e85f /x11-plugins/wmifs/wmifs-1.5.ebuild
parentnet-misc/curl: version bump. (diff)
downloadgentoo-6d7592924450ce5bd866b53b465e1f5df372a41e.tar.gz
gentoo-6d7592924450ce5bd866b53b465e1f5df372a41e.tar.bz2
gentoo-6d7592924450ce5bd866b53b465e1f5df372a41e.zip
x11-plugins/wmifs: version bump
Package-Manager: portage-2.2.20.1 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmifs/wmifs-1.5.ebuild')
-rw-r--r--x11-plugins/wmifs/wmifs-1.5.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-plugins/wmifs/wmifs-1.5.ebuild b/x11-plugins/wmifs/wmifs-1.5.ebuild
new file mode 100644
index 000000000000..8991ce160633
--- /dev/null
+++ b/x11-plugins/wmifs/wmifs-1.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Network monitoring dockapp"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmtime"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ # Honour Gentoo LDFLAGS, see bug #336537
+ sed -i "s/-o wmifs/\$(LDFLAGS) -o wmifs/" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix=/usr install
+ dodoc BUGS CHANGES HINTS README TODO
+}