summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-plugins/wmcalc/Manifest1
-rw-r--r--x11-plugins/wmcalc/metadata.xml2
-rw-r--r--x11-plugins/wmcalc/wmcalc-0.6.ebuild32
3 files changed, 34 insertions, 1 deletions
diff --git a/x11-plugins/wmcalc/Manifest b/x11-plugins/wmcalc/Manifest
index c3ce6420d68d..231f2bf65042 100644
--- a/x11-plugins/wmcalc/Manifest
+++ b/x11-plugins/wmcalc/Manifest
@@ -1,2 +1,3 @@
DIST wmcalc-0.4.tar.gz 42694 SHA256 944b69ce2e5489dc0ec78fc02d4da26af2102a18300eb3607c3a5de4b97a384a
DIST wmcalc-0.5.tar.gz 43834 SHA256 da08429c045ad4434158c852b3db97be06bcef2c42bafac2749821cf0b015e35 SHA512 750f7e74ff60ed61a18e96ca6ed6347be77bc559384911f701a214e5db19d15178eb0a68b7abd0f91369287910b39e0a7d18f24adedf045d9d536e9b084b53f3 WHIRLPOOL 1d2ba999fde06bda49c06cd65ba1f5f0682a700e10d1854ce8aacaed96507067217dce70c533ce074351270973c17870479a12d6319f4ad7750483d6d627fd0e
+DIST wmcalc-0.6.tar.gz 45386 SHA256 32c0e4ae02600f1b7ea3c88ac385c099cf5ee80e10b097d654a016f433b9a36a SHA512 00be5e0ef62c9a47b4f09d640826f144eed3226e8a1471df4e80b54cd0f7d7bb9ff3fbac94355529646673ebe665f9226aca7dd51581d6c6775e2dc5a913501b WHIRLPOOL 353a9cc8d9d9ed4eba157a918552e8a1fa3d4ef8f0584e2a0f13dcbd81959ffb3d0713030eb44f8b7dddbd18dc708290e509be65b9e2e047383ff498bc10b201
diff --git a/x11-plugins/wmcalc/metadata.xml b/x11-plugins/wmcalc/metadata.xml
index ab92cd84625b..b1a9efc4f2f0 100644
--- a/x11-plugins/wmcalc/metadata.xml
+++ b/x11-plugins/wmcalc/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>desktop-dock</herd>
</pkgmetadata>
diff --git a/x11-plugins/wmcalc/wmcalc-0.6.ebuild b/x11-plugins/wmcalc/wmcalc-0.6.ebuild
new file mode 100644
index 000000000000..9f5c7c8fe7b5
--- /dev/null
+++ b/x11-plugins/wmcalc/wmcalc-0.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A WindowMaker DockApp calculator"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcalc"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+
+ dodoc README
+}