Add bc-1.07.1.

This commit is contained in:
Andrius Štikonas 2023-02-27 09:44:06 +08:00
parent b8446054f2
commit 58d1206c83
5 changed files with 31 additions and 0 deletions

21
sysa/bc-1.07.1/bc-1.07.1.sh Executable file
View file

@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: © 2023 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Remove bison generated files
rm bc/bc.c bc/bc.h
rm bc/scan.c
# Skip documentation
sed -i 's/ doc//' Makefile.am
# Rebuild configure script
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
}
src_configure() {
./configure --prefix="${PREFIX}" \
--build=i386-unknown-linux-musl
}

1
sysa/bc-1.07.1/sources Normal file
View file

@ -0,0 +1 @@
https://mirrors.kernel.org/gnu/bc/bc-1.07.1.tar.gz 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a