summaryrefslogtreecommitdiff
path: root/sci-calculators/wcalc/wcalc-2.5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-calculators/wcalc/wcalc-2.5.ebuild
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-calculators/wcalc/wcalc-2.5.ebuild')
-rw-r--r--sci-calculators/wcalc/wcalc-2.5.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/sci-calculators/wcalc/wcalc-2.5.ebuild b/sci-calculators/wcalc/wcalc-2.5.ebuild
index 9b9a8d8b67a6..f7a5e03f83ee 100644
--- a/sci-calculators/wcalc/wcalc-2.5.ebuild
+++ b/sci-calculators/wcalc/wcalc-2.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils
+inherit autotools desktop
DESCRIPTION="A flexible command-line scientific calculator"
HOMEPAGE="http://w-calc.sourceforge.net/"
@@ -20,6 +20,13 @@ RDEPEND="
readline? ( sys-libs/readline:0= )"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-AR.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf $(use_with readline)
}