summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmtime/wmtime-1.1.ebuild')
-rw-r--r--x11-plugins/wmtime/wmtime-1.1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-plugins/wmtime/wmtime-1.1.ebuild b/x11-plugins/wmtime/wmtime-1.1.ebuild
new file mode 100644
index 000000000000..7d1849324222
--- /dev/null
+++ b/x11-plugins/wmtime/wmtime-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtime/wmtime-1.1.ebuild,v 1.1 2014/10/06 14:44:22 voyageur Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="applet which displays the date and time in a dockable tile"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmtime"
+SRC_URI="http://windowmaker.org/dockapps/?download=${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+S=${WORKDIR}/dockapps/${PN}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install () {
+ dobin wmtime
+ doman wmtime.1
+
+ cd ..
+ dodoc BUGS CHANGES HINTS README TODO
+}