summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-10-18 21:39:37 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-19 09:45:28 +0200
commit1208004d2a7d3750cff9e85c045855ed957d9828 (patch)
tree670ab162575de935cabfc8a63224fbdb05ecdaf9 /sci-calculators
parentmedia-libs/jasper: Remove patch from live ebuild (diff)
downloadgentoo-1208004d2a7d3750cff9e85c045855ed957d9828.tar.gz
gentoo-1208004d2a7d3750cff9e85c045855ed957d9828.tar.bz2
gentoo-1208004d2a7d3750cff9e85c045855ed957d9828.zip
sci-calculators/wcalc: Version bump to 2.5 / EAPI bump 4 -> 6
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2591 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/wcalc/Manifest1
-rw-r--r--sci-calculators/wcalc/wcalc-2.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sci-calculators/wcalc/Manifest b/sci-calculators/wcalc/Manifest
index 0e89750ef3c..08fb44f8003 100644
--- a/sci-calculators/wcalc/Manifest
+++ b/sci-calculators/wcalc/Manifest
@@ -1 +1,2 @@
DIST wcalc-2.4.tar.bz2 361865 SHA256 aa2342078b9e75f821b0cc5d30f3434aa9cdf9af170e8a3e9af82286682be226 SHA512 167556b8fad4dca504505ff4172fd7f322b005e74e92d9e4aec7ae1cdc17cfa86501f9c5835b1dea6eb2adcd317beda523dfa61f882db895178aaf51c877171d WHIRLPOOL 0360aabcde7dcc5f5f89101aaf77a81b64de6f9ea6a33be553efaf77dedb167a58f7ce38fe1d18fb932c4140d2591a91c6708e3420c42753a18e107c0efaeecf
+DIST wcalc-2.5.tar.bz2 413637 SHA256 0e2c17c20f935328dcdc6cb4c06250a6732f9ee78adf7a55c01133960d6d28ee SHA512 3eedcf8c93bd33ca0a4bb35867e3157adbde2999d9fc1826ad55281fd927546614f6b1a28900b4cae87a0d15888cd62a04fa2adca316d7cf309af7a2fefea704 WHIRLPOOL 1a41c3810c34c4c740656c40d9fe92ff8bdb62293bdf670d43282202b8dff9249dff375222ae39206410f824e9a628bcb2a6ed0badeacd88573a5898bd984959
diff --git a/sci-calculators/wcalc/wcalc-2.5.ebuild b/sci-calculators/wcalc/wcalc-2.5.ebuild
new file mode 100644
index 00000000000..9e7b48d51c2
--- /dev/null
+++ b/sci-calculators/wcalc/wcalc-2.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="A flexible command-line scientific calculator"
+HOMEPAGE="http://w-calc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/w-calc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="readline"
+
+RDEPEND="
+ dev-libs/gmp:0=
+ dev-libs/mpfr:0=
+ readline? ( sys-libs/readline:0= )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_with readline)
+}
+
+src_install() {
+ default
+
+ # Wcalc icons
+ newicon graphics/w.png wcalc.png
+ newicon graphics/Wred.png wcalc-red.png
+}