summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-01-13 12:41:19 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2015-01-13 12:41:19 +0000
commit87609c56887d003c68bab771d1d262e0b789642c (patch)
tree2c2f80e7d6e7c0d1ab6b02f391b7c18d308e3f4c
parentVersion bump, remove old, add long description. Has various fixes to the id3v... (diff)
downloadgentoo-2-87609c56887d003c68bab771d1d262e0b789642c.tar.gz
gentoo-2-87609c56887d003c68bab771d1d262e0b789642c.tar.bz2
gentoo-2-87609c56887d003c68bab771d1d262e0b789642c.zip
Version bump with new homepage, ebuild cleanup
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
-rw-r--r--x11-plugins/wmcalc/ChangeLog9
-rw-r--r--x11-plugins/wmcalc/wmcalc-0.5.ebuild38
2 files changed, 45 insertions, 2 deletions
diff --git a/x11-plugins/wmcalc/ChangeLog b/x11-plugins/wmcalc/ChangeLog
index 25164a97ac84..d0edf5f0f2ed 100644
--- a/x11-plugins/wmcalc/ChangeLog
+++ b/x11-plugins/wmcalc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/wmcalc
-# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/ChangeLog,v 1.21 2012/02/15 09:44:32 voyageur Exp $
+# Copyright 2002-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/ChangeLog,v 1.22 2015/01/13 12:41:19 voyageur Exp $
+
+*wmcalc-0.5 (13 Jan 2015)
+
+ 13 Jan 2015; Bernard Cafarelli <voyageur@gentoo.org> +wmcalc-0.5.ebuild:
+ Version bump with new homepage, ebuild cleanup
15 Feb 2012; Bernard Cafarelli <voyageur@gentoo.org> wmcalc-0.4.ebuild:
Update HOMEPAGE and SRC_URI, thanks Lorenz in bug #394607
diff --git a/x11-plugins/wmcalc/wmcalc-0.5.ebuild b/x11-plugins/wmcalc/wmcalc-0.5.ebuild
new file mode 100644
index 000000000000..aeb88ceaa394
--- /dev/null
+++ b/x11-plugins/wmcalc/wmcalc-0.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/wmcalc-0.5.ebuild,v 1.1 2015/01/13 12:41:19 voyageur Exp $
+
+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="http://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"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ sed -e "/\$(INSTALL_DIR)/s/\/man1//" -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+
+ dodoc README
+}