Signed-off-by: Gavin D. Howard <yzena.tech@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
DIST bc-2.3.2.tar.xz 160120 BLAKE2B b9919d45cb45b69c7b10022d472c480fd6e93ffdf65eda1a0ee3e3990e2ad79fced74e5b72276559c6265fd43d08af28d5590c0e3a7bb14fd294010b8bc7b772 SHA512 732cf67a27b537406418ddb1a11c1da0fcbda23bdb7beba0e16a57a9d6639cdb7b9b43f5028c8fac45fe253dadfcb80b50d7fef0bbe32a7391cd946ace1408f8
DIST bc-2.5.3.tar.xz 162784 BLAKE2B 02fc39a3569ca9bc45534a30bc6d991d1a5177cea56add88e6e0bff0a9f99d92813a1e2c14973c315f12e764c1715605deaafbf838263d7e29175a88a5e329ff SHA512 97c0722969c4f2fd907786e0a89f9b403662b1bcdd1aab59418ab3fe140c50584b45eb346008ad94916335418f08433d2634b52b94ae1d7463b665a746f1a608
+DIST bc-2.6.1.tar.xz 165812 BLAKE2B 5eb45f6cd6059f99550fc76d6b7e32e6ba4ce93f4ff87b789ca6fbc3e4cd9bab19866f317838694d2ca52f44ac26eca9630c25bde46aecfc256ebcd296a2d2f0 SHA512 f9dbc384272a2f570fa3e8d1c3c9d7063349979e8245846a086ade4bfc3b22216e7115e95aeb13b9473939fd174aa50ea9237f7417477fd9f24477fb1f1933da
--- /dev/null
+# Copyright 2020 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 ~x86"
+IUSE=""
+
+S="${WORKDIR}/bc-${PV}"
+
+src_configure() {
+ EXECSUFFIX="-gh" PREFIX="${EPREFIX}/usr" ./configure.sh -GT || die
+}