summaryrefslogtreecommitdiff
path: root/sci-calculators/bc-gh/bc-gh-6.1.1-r1.ebuild
blob: b1f91f1ef92d097eefeb9216ea2cb33574e5ca90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"

S="${WORKDIR}/bc-${PV}"

src_configure() {
	EXECSUFFIX="-gh" PREFIX="${EPREFIX}/usr" ./configure.sh -pGNU -GTl || die
}