summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-calculators/bc-gh/Manifest1
-rw-r--r--sci-calculators/bc-gh/bc-gh-5.2.0.ebuild18
2 files changed, 19 insertions, 0 deletions
diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest
index badd6c04f5b1..937d8bbc72ad 100644
--- a/sci-calculators/bc-gh/Manifest
+++ b/sci-calculators/bc-gh/Manifest
@@ -1 +1,2 @@
DIST bc-5.1.1.tar.xz 433944 BLAKE2B d46ae9de6358b3acd1afe9f7013286d8678e26a985664d65e78b51077b494d2b1c1271044170d3488ececeaed5e97df15da2734070a2fbf39b33ab9c01543558 SHA512 d8774fb1e654520abdf7d790783d4a3c04fa8f4982fc1cd0d92331e7e4b5889efa022cafb5e1286b6c82a74c9388f47657c7b9d78888b5d8056fa40d3d5e5c69
+DIST bc-5.2.0.tar.xz 435820 BLAKE2B babcd26a69b845fa1f50b0f65dc536bdcd7603102224379387e6dc60aaf94faebc30088d429206100e053cfa34945117b090cd75c7d0dcf377467204572b9358 SHA512 f5fcaef5a963baa344972432e20c9747cba7b08b2dd7beac5c783da250abcde37cf85c23bfb3273432c31b292c9c470c836daf990c69f83bd6c7e565a46859e2
diff --git a/sci-calculators/bc-gh/bc-gh-5.2.0.ebuild b/sci-calculators/bc-gh/bc-gh-5.2.0.ebuild
new file mode 100644
index 000000000000..47aaece3ed37
--- /dev/null
+++ b/sci-calculators/bc-gh/bc-gh-5.2.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
+}