summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Howard <gavin@yzena.com>2021-08-09 12:42:08 -0600
committerIonen Wolkens <ionen@gentoo.org>2021-08-10 05:50:35 -0400
commitd7676bdba1d19cafe5084b885febff1e3a646156 (patch)
tree353ef11a036cb00c77a69698d0c784dae0b5f8a4 /sci-calculators
parentprofiles/arch/riscv: unmask USE=qt5 (diff)
downloadgentoo-d7676bdba1d19cafe5084b885febff1e3a646156.tar.gz
gentoo-d7676bdba1d19cafe5084b885febff1e3a646156.tar.bz2
gentoo-d7676bdba1d19cafe5084b885febff1e3a646156.zip
sci-calculators/bc-gh: bump to 5.0.0
This also adds some configure arguments based on upstream changes. (I am the upstream author.) These changes make bc more like GNU bc. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Gavin D. Howard <gavin@yzena.com> Closes: https://github.com/gentoo/gentoo/pull/21935 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/bc-gh/Manifest1
-rw-r--r--sci-calculators/bc-gh/bc-gh-5.0.0.ebuild18
2 files changed, 19 insertions, 0 deletions
diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest
index e241bcd9b857..46ffb9fdeee4 100644
--- a/sci-calculators/bc-gh/Manifest
+++ b/sci-calculators/bc-gh/Manifest
@@ -1 +1,2 @@
DIST bc-4.0.2.tar.xz 235464 BLAKE2B 8a0a2a77bdeba924994060ba8b1dd8e6f7fbbc9ac850f58e98fdfcf2bc50890772b1f8cc344ed2e05a936487a693a26f6a2a349b93e520c01a7ac7ad0465d66d SHA512 f3564cb953bca2003c9fd565b3114a2701de4437c6db3cace29edab186d3270cd98f66f3eb1a45fd074a44736fef39f78675959f400c1c23a4a2e930d469c059
+DIST bc-5.0.0.tar.xz 429376 BLAKE2B 8e184270e18ccabe2c1b6b95df7110dfd29cb4357667380fb5d71991b98f78c48f49e0f9176df89e058b00d2998a727ff95c166ce69085f17bb1914e957d870e SHA512 3ac4639922398e633aae3c3679ee3e53f3688da3992c55c120165b5718860f9857b7f46c43a9e18da0dd67ac92c8855f7449dfdfdfd11c419dc4ab6683550740
diff --git a/sci-calculators/bc-gh/bc-gh-5.0.0.ebuild b/sci-calculators/bc-gh/bc-gh-5.0.0.ebuild
new file mode 100644
index 000000000000..47aaece3ed37
--- /dev/null
+++ b/sci-calculators/bc-gh/bc-gh-5.0.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Implementation of POSIX bc with GNU extensions"
+HOMEPAGE="https://git.yzena.com/gavin/bc"
+SRC_URI="https://github.com/gavinhoward/bc/releases/download/${PV}/bc-${PV}.tar.xz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+S="${WORKDIR}/bc-${PV}"
+
+src_configure() {
+ EXECSUFFIX="-gh" PREFIX="${EPREFIX}/usr" ./configure.sh -GTl -sbc.banner -sdc.tty_mode || die
+}