bc-gh: update to 5.1.1

Signed-off-by: Gavin Howard <gavin@yzena.com>
This commit is contained in:
Gavin Howard 2021-10-04 12:37:37 -06:00 committed by Érico Nogueira Rolim
parent 079160880d
commit c93699a265

View file

@ -1,6 +1,6 @@
# Template file for 'bc-gh'
pkgname=bc-gh
version=4.0.2
version=5.1.1
revision=1
wrksrc="bc-${version}"
short_desc="Implementation of POSIX bc with GNU extensions"
@ -9,7 +9,7 @@ license="BSD-2-Clause"
homepage="https://git.yzena.com/gavin/bc"
changelog="https://git.yzena.com/gavin/bc/raw/branch/master/NEWS.md"
distfiles="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz"
checksum=b4a7046325557a44d02165874f957c3abf49e2ba4491c8275326cb7c55ef2290
checksum=cfec5571216693537f9565073334be691717bfb762610cf1a06050e0f25aa94d
alternatives="
bc:bc:/usr/bin/bc-gh
bc:bc.1:/usr/share/man/man1/bc-gh.1
@ -18,7 +18,8 @@ alternatives="
do_configure() {
PREFIX=/usr DESTDIR="${DESTDIR}" EXECSUFFIX=-gh CC="${CC}" CFLAGS="${CFLAGS}" \
HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="${CFLAGS_FOR_BUILD}" ./configure.sh -GM
HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="${CFLAGS_FOR_BUILD}" ./configure.sh -GM \
-sbc.banner -sdc.tty_mode
}
do_build() {
make ${makejobs}