summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
+}