summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-calculators/bc-gh/Manifest1
-rw-r--r--sci-calculators/bc-gh/bc-gh-3.3.0.ebuild18
2 files changed, 19 insertions, 0 deletions
diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest
index edc91716d381..b0fa71348169 100644
--- a/sci-calculators/bc-gh/Manifest
+++ b/sci-calculators/bc-gh/Manifest
@@ -1,2 +1,3 @@
DIST bc-3.2.3.tar.xz 225420 BLAKE2B 6d1ec825a03f77a8024ff69f80eaa09301effc1281663aaf33c530d89c917b9cad41813aca731577fae1eb8dfb1c6e3023e54da0cfd89ea2e5aa413f84c347b3 SHA512 efd040d46f2ed1eff5a2eb336e55fd465176c23c728935ee488a474b2f0c8dddd275805ee3be79f20afc523a183adb3d88a0e7bee095047912cf70741e2c0b32
DIST bc-3.2.6.tar.xz 234964 BLAKE2B 4127d1910ee33f7f113c8dd3604bf7c5efacbcb3ae163d943ca9c62e6b1e9769f32766034931aaa3f2251f825cef86e812aaf1974fec643dbe355156c33a8054 SHA512 4b1f43bb0bcd720d2140d41e089aa78fe8d07903fb745ed1a641ffe25fe46f439e480a1e11b687b7555881bd1ee4044c071c50e4bacd579b8909c704db7a6ede
+DIST bc-3.3.0.tar.xz 229580 BLAKE2B 0528d50f566fce648561276434eed45a82fb1dc2d3c56a684758daa866802e7a3781a0e0d6a0993cdc356b416f5ff998de5c51a5e203d2ff415d6b098fb1743a SHA512 b8d0b6d6d9c5d4fc62df62d1b9b7e7006a8b430e063fe0d5f646cfaeb4c6fc9c7037b644e853b7ae7d5c5f42f079221e9cdc32564d70c9ddd6bb867ddc7056de
diff --git a/sci-calculators/bc-gh/bc-gh-3.3.0.ebuild b/sci-calculators/bc-gh/bc-gh-3.3.0.ebuild
new file mode 100644
index 000000000000..89c8c7658afa
--- /dev/null
+++ b/sci-calculators/bc-gh/bc-gh-3.3.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 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://github.com/gavinhoward/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 || die
+}