19 lines
469 B
Bash
19 lines
469 B
Bash
# 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
|
|
}
|