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

View File

@ -626,6 +626,12 @@ ed 1.4
``ed`` is a very basic line editor. This is the last version that is not distributed
in ``.tar.lz`` format. ``ed`` is used by ``bc`` build scripts.
bc 1.07.1
=========
``bc`` is a console based calculator that is sometime used in scripts. We need ``bc``
to rebuild some Linux kernel headers.
kexec-tools 2.0.22
==================

View File

@ -21,6 +21,7 @@ e8ff13753943e43972a8cf1672819f001718ed38e5497cf7b554c21a507ba22b automake-1.7.8
9922651b64ad2e29b944082f26db223008220155048f25d64df1f6d82071ff1c automake-1.8.5_0.tar.bz2
c5807850a377e4bb9aa4121d9781d145bdd80327626a9419630a75ce2c8d9c71 automake-1.9.6_0.tar.bz2
6e9f4263f8a938e2bf62ae1507092a7d3679a018c2037e2eac9cf424ca20c19c bash-5.1_0.tar.bz2
78c5e718510fcf0ab4296d5cfac114abb31af4a30aa5c9f2c0844d7ee5bae5c5 bc-1.07.1_0.tar.bz2
b06a20417c7dadb007f3e6930b8385ad934651756a339d8a87e086b1139e62d8 binutils-2.24_0.tar.bz2
aa910ea75172041b9285436c148f81b3a9fb205f61b88b5e5bbaab2c1cee9484 binutils-2.38_0.tar.bz2
9ff9b31de7aab2b10f29bb2e0cacc4a30b31e4c0dc15d6fa1202181204aaa6e6 bison-2.3_0.tar.bz2

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

View File

@ -230,6 +230,8 @@ build curl-7.83.0
build ed-1.4
build bc-1.07.1
# Clear up some RAM space
grep '^build' "${SOURCES}/run.sh" | sed "s/build //" | sed "s/ .*$//" | while read -r p ; do
rm -rf "${SOURCES:?}/${p:?}"