bc-gh: update upstream address and use the GNU bc predefined build

Signed-off-by: Gavin Howard <gavin@yzena.com>
Signed-off-by: Gavin D. Howard <gavin@yzena.com>
This commit is contained in:
Gavin Howard 2023-01-31 20:06:51 -07:00 committed by Đoàn Trần Công Danh
parent 59f5f0d031
commit fd4d76a8dd
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'bc-gh' # Template file for 'bc-gh'
pkgname=bc-gh pkgname=bc-gh
version=6.2.2 version=6.2.2
revision=1 revision=2
short_desc="Implementation of POSIX bc with GNU extensions" short_desc="Implementation of POSIX bc with GNU extensions"
maintainer="Gavin D. Howard <yzena.tech@gmail.com>" maintainer="Gavin D. Howard <gavin@gavinhoward.com>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://git.yzena.com/gavin/bc" homepage="https://git.yzena.com/gavin/bc"
changelog="https://git.yzena.com/gavin/bc/raw/branch/master/NEWS.md" changelog="https://git.yzena.com/gavin/bc/raw/branch/master/NEWS.md"
@ -20,7 +20,7 @@ alternatives="
do_configure() { do_configure() {
PREFIX=/usr DESTDIR="${DESTDIR}" EXECSUFFIX=-gh CC="${CC}" CFLAGS="${CFLAGS}" \ 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 -pGNU
} }
do_build() { do_build() {
make ${makejobs} make ${makejobs}